Pagini recente » Borderou de evaluare (job #2027359) | Borderou de evaluare (job #1075674) | Borderou de evaluare (job #990436) | Borderou de evaluare (job #2641881) | Borderou de evaluare (job #1225920)
Borderou de evaluare (job #1225920)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &v2[i], &v3[i]);
^
user.cpp:17:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:12:41: warning: unused variable ‘ok’ [-Wunused-variable]
int n, m, x, y, i, aux, p1, p2, cm, ok = 0;
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inter.in", "r", stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inter.out", "w", stdout);
^
user.cpp:13: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:17:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &v2[i], &v3[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 32ms | 344kb | OK | 10 |
| 4 | 80ms | 432kb | OK | 10 |
| 5 | 156ms | 552kb | OK | 10 |
| 6 | 184ms | 572kb | OK | 10 |
| 7 | 320ms | 732kb | OK | 10 |
| 8 | Depăşit | 824kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1040kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1184kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |