Borderou de evaluare (job #1853669)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 21 ianuarie 2017 22:20:16
Problema Gather Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:90:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d %d", &k, &n, &m); ^ user.cpp:90:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:90:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:92:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &dk[i]); ^ user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gather.in", "r", stdin); ^ user.cpp:88:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gather.out", "w", stdout); ^ user.cpp:90:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &k, &n, &m); ^ user.cpp:92:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &dk[i]); ^ user.cpp:97:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &a, &b, &c, &d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms492kbOK10
20ms544kbOK10
30ms728kbOK10
44ms2516kbOK10
524ms6260kbOK10
628ms8676kbOK10
740ms8820kbOK10
884ms9740kbOK10
9212ms12804kbOK10
10212ms12776kbOK10
Punctaj total100

Ceva nu functioneaza?