Pagini recente » Borderou de evaluare (job #2262941) | Borderou de evaluare (job #3244650) | Borderou de evaluare (job #2451781) | Borderou de evaluare (job #2173154) | Borderou de evaluare (job #1224295)
Borderou de evaluare (job #1224295)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16: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:16:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:11:44: warning: variable ‘j’ set but not used [-Wunused-but-set-variable]
int n, m, x, y, i, aux, p1, p2, ok, c, j;
^
user.cpp:9: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:10: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:12: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:16: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 | 248kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 28ms | 344kb | OK | 10 |
4 | 72ms | 432kb | OK | 10 |
5 | 144ms | 552kb | OK | 10 |
6 | 172ms | 580kb | OK | 10 |
7 | 284ms | 732kb | OK | 10 |
8 | Depăşit | 840kb | Time limit exceeded. | 0 |
9 | Depăşit | 1044kb | Time limit exceeded. | 0 |
10 | Depăşit | 1176kb | Time limit exceeded. | 0 |
Punctaj total | 70 |