Borderou de evaluare (job #1409591)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 30 martie 2015 16:41:03
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: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:138:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/ccsYHnZM.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
10ms280kbOK10
20ms280kbOK10
30ms284kbOK10
40ms288kbOK10
512ms448kbOK10
60ms292kbGresit!0
764ms916kbOK10
892ms1268kbOK10
94ms336kbOK10
104ms332kbOK10
Punctaj total90

Ceva nu functioneaza?