Borderou de evaluare (job #1219628)

Utilizator ZenusTudor Costin Razvan Zenus Data 14 august 2014 18:07:53
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:94:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",f[1]); ^ user.cpp:68:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lant.in","r",stdin); ^ user.cpp:69:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lant.out","w",stdout); ^ user.cpp:71:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&K); ^ user.cpp:72:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ user.cpp:84:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/cczswnQR.o: In function `main': user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbIncorect0
20ms360kbKilled by signal 6(SIGABRT).0
30ms356kbKilled by signal 6(SIGABRT).0
40ms356kbKilled by signal 6(SIGABRT).0
50ms292kbIncorect0
60ms360kbKilled by signal 6(SIGABRT).0
70ms364kbKilled by signal 6(SIGABRT).0
88ms288kbIncorect0
90ms352kbKilled by signal 6(SIGABRT).0
100ms352kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?