Borderou de evaluare (job #1409640)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 30 martie 2015 17:11:08
Problema Ec Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 96

Raport evaluator

Compilare: user.cpp: In function ‘int EcType()’: user.cpp:31:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < strlen(S) && i < 10; ++i) ^ user.cpp: In function ‘void Type_1()’: user.cpp:77:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while( i < strlen(S) ) ^ user.cpp: In function ‘void Type_2()’: user.cpp:105:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while( i < strlen(S) ) ^ user.cpp: In function ‘void Read()’: user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &T[i]); ^ user.cpp: In function ‘int main()’: user.cpp:140:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/ccr1bvbS.o: In function `main': user.cpp:(.text.startup+0x38): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms280kbOK10
30ms284kbOK10
40ms292kbOK10
512ms452kbOK10
60ms292kbGresit!6
760ms920kbOK10
892ms1268kbOK10
94ms332kbOK10
104ms332kbOK10
Punctaj total96

Ceva nu functioneaza?