Borderou de evaluare (job #1422731)

Utilizator bogdanpaunFMI Paun Bogdan Gabriel bogdanpaun Data 19 aprilie 2015 18:49:45
Problema Dtcsu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%ull",&val); ^ user.cpp:21:20: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%ull",&q); ^ user.cpp:23:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%ull",&val); ^ user.cpp:28:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%ull",sol); ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dtcsu.in" , "r" , stdin); ^ user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dtcsu.out", "w" , stdout); ^ user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ull",&val); ^ user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ull",&q); ^ user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ull",&val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1116ms460kbKilled by signal 8(SIGFPE).0
2116ms464kbKilled by signal 8(SIGFPE).0
3116ms460kbKilled by signal 8(SIGFPE).0
42144ms500kbIncorect0
5124ms456kbKilled by signal 8(SIGFPE).0
Punctaj total0

Ceva nu functioneaza?