Borderou de evaluare (job #1769996)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 3 octombrie 2016 17:07:44
Problema Diviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int mod(int&)’: user.cpp:12:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void read()’: user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &k, &a, &b); ^ user.cpp:21:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp: In function ‘int main()’: user.cpp:53:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diviz.in", "r", stdin); ^ user.cpp:54:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diviz.out", "w", stdout); ^ /tmp/ccpvHbPr.o: In function `read()': user.cpp:(.text+0x5a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms452kbOK10
20ms448kbOK10
34ms532kbOK10
44ms460kbOK10
512ms484kbOK10
684ms516kbOK10
7112ms516kbOK10
8Depăşit500kbTime limit exceeded.0
9Depăşit556kbTime limit exceeded.0
10Depăşit572kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?