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

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 511945
Concurent: Andrei Bunea (andrei_alex)Progres: evaluare completă
Problemă: ordonarePunctaj exemplu: 10
Limbaj: cppPunctaj final: 100
Dată: 28 nov 2016, 22:27
Mesaj evaluator:
ordonare.cpp: In function 'bool cmp(cuvant, cuvant)': ordonare.cpp:17: warning: NULL used in arithmetic ordonare.cpp:19: warning: NULL used in arithmetic ordonare.cpp: In function 'int main()': ordonare.cpp:56: warning: comparison between signed and unsigned integer expressions ordonare.cpp:33: warning: unused variable 'pp' ordonare.cpp:33: warning: unused variable 'm' ordonare.cpp:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result ordonare.cpp:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result ordonare.cpp:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result ordonare.cpp:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result ordonare.cpp:41: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result ordonare.cpp: In function 'bool cmp(cuvant, cuvant)': ordonare.cpp:27: warning: control reaches end of non-void function /tmp/ccrEFHrk.o: In function `main': ordonare.cpp:(.text+0x11f): 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! 11
2 0 Okay! 11
3 0 Okay! 11
4 0 Okay! 11
5 0 Okay! 11
6 0 Okay! 11
7 0 Okay! 11
8 0 Okay! 11
9 0 Okay! 12
Total evaluare 100
ajutor