Borderou de evaluare (job #1692272)

Utilizator krityxAdrian Buzea krityx Data 20 aprilie 2016 16:36:18
Problema Dezastru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:30:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘double*’ [-Wformat=] scanf("%d", &v[i]); ^ user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dezastru.in", "r", stdin); ^ user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dezastru.out", "w", stdout); ^ user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ user.cpp:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbRaspuns gresit !0
20ms296kbRaspuns gresit !0
30ms300kbRaspuns gresit !0
40ms304kbRaspuns gresit !0
50ms304kbRaspuns gresit !0
60ms304kbRaspuns gresit !0
70ms304kbRaspuns gresit !0
864ms296kbRaspuns gresit !0
9Depăşit304kbTime limit exceeded.0
10100ms296kbRaspuns gresit !0
Punctaj total0

Ceva nu functioneaza?