Borderou de evaluare (job #2286238)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 19 noiembrie 2018 22:51:02
Problema Rafaela Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:68:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("rafaela.in","r",stdin); ^ main.cpp:69:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("rafaela.out","w",stdout); ^ main.cpp:70:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &n, &q); ^ main.cpp:73:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d", &x, &y); ^ main.cpp:78:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &a[i]); ^ main.cpp:90:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &c); ^ main.cpp:93:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &c); ^ main.cpp:96:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d %d\n", &y, &x); ^ main.cpp:109:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d\n", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
134ms11403kbIncorect0
225ms11403kbIncorect0
328ms11403kbIncorect0
4218ms18477kbIncorect0
5288ms20963kbIncorect0
6377ms24371kbIncorect0
7383ms25104kbIncorect0
8480ms28958kbIncorect0
9501ms29810kbIncorect0
10513ms30400kbIncorect0
Punctaj total0

Ceva nu functioneaza?