Borderou de evaluare (job #1345014)

Utilizator ASTELOTudor Enescu ASTELO Data 17 februarie 2015 10:25:36
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:61:15: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",nr); ^ user.cpp:8:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.in","r",stdin); ^ user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.out","w",stdout); ^ user.cpp:10:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccnlS6hI.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbIncorect0
20ms336kbIncorect0
30ms392kbIncorect0
40ms404kbKilled by signal 6(SIGABRT).0
50ms408kbKilled by signal 6(SIGABRT).0
60ms408kbKilled by signal 6(SIGABRT).0
70ms404kbKilled by signal 6(SIGABRT).0
80ms400kbKilled by signal 6(SIGABRT).0
90ms408kbKilled by signal 6(SIGABRT).0
100ms400kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?