.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 520390

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 520390
Concurent: Lucian Trepteanu (LucianTrepteanu)Progres: evaluare completă
Problemă: mineralePunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 15 ian 2017, 14:08
Mesaj evaluator:
minerale.cpp: In function 'int main()': minerale.cpp:32: warning: format '%s' expects type 'char*', but argument 2 has type 'char (*)[10]' minerale.cpp:32: warning: format '%s' expects type 'char*', but argument 3 has type 'char (*)[10]' minerale.cpp:27: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result minerale.cpp:28: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result minerale.cpp:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result minerale.cpp:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result minerale.cpp:39: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result /tmp/ccoXYa6I.o: In function `main': minerale.cpp:(.text+0x29a): warning: the `gets' function is dangerous and should not be used.
Teste de evaluare:
Test Timp Mesaj evaluator Punctaj
0 0 Okay! 10
Total exemple 10
1 0 Okay! 10
2 0 Okay! 10
3 0.004 Okay! 10
4 0.015 Okay! 10
5 0.039 Okay! 10
6 0.016 Okay! 10
7 0.016 Okay! 10
8 0.088 Okay! 10
9 0.081 Okay! 10
10 0.139 Okay! 10
Total evaluare 100
ajutor