Pagini recente » Borderou de evaluare (job #1082818) | Borderou de evaluare (job #2367498) | Borderou de evaluare (job #257654) | Borderou de evaluare (job #183915) | Borderou de evaluare (job #2218440)
Borderou de evaluare (job #2218440)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:68:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in", "r", stdin);
^
user.cpp:69:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "w", stdout);
^
user.cpp:70:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:72:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:75:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:78:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &u, &v, &t, &j);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1088kb | OK | 10 |
| 2 | 16ms | 1192kb | OK | 10 |
| 3 | 0ms | 1056kb | OK | 10 |
| 4 | 40ms | 1104kb | OK | 10 |
| 5 | 48ms | 1152kb | OK | 10 |
| 6 | 64ms | 1176kb | OK | 10 |
| 7 | 56ms | 1104kb | OK | 10 |
| 8 | 0ms | 1060kb | OK | 10 |
| 9 | 0ms | 868kb | OK | 10 |
| 10 | 4ms | 1052kb | OK | 10 |
| Punctaj total | 100 |