Borderou de evaluare (job #1424576)

Utilizator tziplea_stefanTiplea Stefan tziplea_stefan Data 24 aprilie 2015 22:39:55
Problema Kbiti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d\n", &t); ^ user.cpp:36:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", sum+1); ^ user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbiti.in", "r", stdin); ^ user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kbiti.out", "w", stdout); ^ user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms256kbOK10
30ms256kbOK10
40ms260kbOK10
50ms264kbOK10
620ms260kbOK10
760ms260kbOK10
8100ms264kbOK10
9Depăşit260kbTime limit exceeded.0
10Depăşit256kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?