Borderou de evaluare (job #1413257)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 1 aprilie 2015 19:19:30
Problema Amedie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:71:27: warning: too many arguments for format [-Wformat-extra-args] scanf("%c", &c, &c); ^ user.cpp:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("amedie.in", "r", stdin); ^ user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("amedie.out", "w", stdout); ^ user.cpp:58:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &m, &q); ^ user.cpp:62:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i][j]); ^ user.cpp:68:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:71:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c, &c); ^ user.cpp:74:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &ind); ^ user.cpp:82:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
24ms536kbOK10
30ms504kbOK10
4Depăşit772kbTime limit exceeded.0
5Depăşit592kbTime limit exceeded.0
6Depăşit540kbTime limit exceeded.0
7Depăşit536kbTime limit exceeded.0
8Depăşit536kbTime limit exceeded.0
9Depăşit532kbTime limit exceeded.0
10Depăşit536kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?