Pagini recente » Borderou de evaluare (job #1518758) | Borderou de evaluare (job #77515) | Borderou de evaluare (job #1553966) | Borderou de evaluare (job #2948553) | Borderou de evaluare (job #1530925)
Borderou de evaluare (job #1530925)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in", "r", stdin);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out", "w", stdout);
^
user.cpp:35:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &sum);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 4ms | 432kb | OK | 10 |
4 | 8ms | 448kb | OK | 10 |
5 | 8ms | 444kb | OK | 10 |
6 | 8ms | 456kb | OK | 10 |
7 | 8ms | 516kb | OK | 10 |
8 | 12ms | 532kb | OK | 10 |
9 | 12ms | 536kb | OK | 10 |
10 | 12ms | 544kb | OK | 10 |
Punctaj total | 100 |