Borderou de evaluare (job #1471726)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:41:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:46:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &cod, &a);
^
user.cpp:47:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(cod!=2) scanf("%d", &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 4ms | 288kb | OK | 10 |
4 | 28ms | 364kb | OK | 10 |
5 | 60ms | 400kb | OK | 10 |
6 | 92ms | 528kb | OK | 10 |
7 | 104ms | 600kb | OK | 10 |
8 | 140ms | 656kb | OK | 10 |
9 | 144ms | 660kb | OK | 10 |
10 | 144ms | 660kb | OK | 10 |
Punctaj total | 100 |