Borderou de evaluare (job #2417520)

Utilizator andrei_toaderToader Andrei Sorin andrei_toader Data 30 aprilie 2019 11:48:03
Problema Aur Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void readDataForFirstTask()': main.cpp:23:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:26:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp: In function 'void readDataForSecondTask()': main.cpp:54:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ main.cpp:57:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp: In function 'void readDataForThirdTask()': main.cpp:114:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &p); ^ main.cpp:117:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp: In function 'int main()': main.cpp:177:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("prime2.in", "r", stdin); ^ main.cpp:178:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("prime2.out", "w", stdout); ^ main.cpp:180:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbRaspuns Gresit0
22ms131kbRaspuns Gresit0
32ms131kbRaspuns Gresit0
42ms131kbRaspuns Gresit0
52ms131kbRaspuns Gresit0
62ms131kbRaspuns Gresit0
72ms131kbRaspuns Gresit0
83ms131kbRaspuns Gresit0
92ms131kbRaspuns Gresit0
102ms131kbRaspuns Gresit0
112ms131kbRaspuns Gresit0
122ms131kbRaspuns Gresit0
132ms131kbRaspuns Gresit0
142ms131kbRaspuns Gresit0
152ms131kbRaspuns Gresit0
162ms131kbRaspuns Gresit0
172ms131kbRaspuns Gresit0
182ms131kbRaspuns Gresit0
192ms131kbRaspuns Gresit0
202ms131kbRaspuns Gresit0
212ms131kbRaspuns Gresit0
222ms131kbRaspuns Gresit0
232ms131kbRaspuns Gresit0
242ms131kbRaspuns Gresit0
252ms131kbRaspuns Gresit0
262ms131kbRaspuns Gresit0
272ms131kbRaspuns Gresit0
282ms131kbRaspuns Gresit0
292ms131kbRaspuns Gresit0
302ms131kbRaspuns Gresit0
312ms131kbRaspuns Gresit0
Punctaj total0

Ceva nu functioneaza?