Borderou de evaluare (job #1409650)

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

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:147:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/ccpvAFIJ.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
10ms292kbOK10
20ms284kbOK10
30ms292kbOK10
40ms292kbOK10
512ms452kbOK10
60ms296kbOK10
764ms924kbOK10
896ms1276kbOK10
94ms332kbOK10
104ms332kbOK10
Punctaj total100

Ceva nu functioneaza?