Borderou de evaluare (job #1409588)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 30 martie 2015 16:39:06
Problema Ec Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

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:102: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:135:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/ccQCjhLZ.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
10ms284kbOK10
20ms280kbOK10
30ms292kbOK10
40ms288kbOK10
516ms452kbOK10
60ms284kbGresit!0
760ms920kbOK10
892ms1264kbOK10
94ms336kbOK10
104ms328kbOK10
Punctaj total90

Ceva nu functioneaza?