Borderou de evaluare (job #2286227)

Utilizator savulescustefanSavulescu Stefan savulescustefan Data 19 noiembrie 2018 22:42:25
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:67: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:68: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:69: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:72: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:77:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &a[i]); ^ main.cpp:89:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &c); ^ main.cpp:92:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%c", &c); ^ main.cpp:95: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:108: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
121ms11403kbIncorect0
225ms11403kbIncorect0
328ms11403kbIncorect0
4214ms18350kbIncorect0
5279ms20963kbIncorect0
6381ms24371kbIncorect0
7388ms25157kbIncorect0
8555ms28958kbIncorect0
9559ms29351kbIncorect0
10591ms30400kbIncorect0
Punctaj total0

Ceva nu functioneaza?