Borderou de evaluare (job #1413276)

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

Raport evaluator

Compilare: user.cpp: In function ‘int elem(int)’: user.cpp:60:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < v.size() && x; i++) ^ user.cpp: In function ‘int main()’: user.cpp:85:27: warning: too many arguments for format [-Wformat-extra-args] scanf("%c", &c, &c); ^ user.cpp:68: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:69: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:71: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:75: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:82:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^ user.cpp:85:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c, &c); ^ user.cpp:88:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &ind); ^ user.cpp:98: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
10ms448kbOK10
20ms540kbOK10
30ms504kbOK10
44ms856kbIncorect0
528ms1740kbIncorect0
6Depăşit4692kbTime limit exceeded.0
7Depăşit6620kbTime limit exceeded.0
8Depăşit6552kbTime limit exceeded.0
9Depăşit6552kbTime limit exceeded.0
10Depăşit6556kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?