Pagini recente » Borderou de evaluare (job #1607195) | Borderou de evaluare (job #2613457) | Borderou de evaluare (job #2261624) | Borderou de evaluare (job #2529877) | Borderou de evaluare (job #1224294)
Borderou de evaluare (job #1224294)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:41: 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:22:41: 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:22:42: 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 | 4ms | 256kb | OK | 10 |
2 | 220ms | 260kb | OK | 10 |
3 | Depăşit | 324kb | Time limit exceeded. | 0 |
4 | Depăşit | 408kb | Time limit exceeded. | 0 |
5 | Depăşit | 532kb | Time limit exceeded. | 0 |
6 | Depăşit | 556kb | Time limit exceeded. | 0 |
7 | Depăşit | 712kb | Time limit exceeded. | 0 |
8 | Depăşit | 824kb | Time limit exceeded. | 0 |
9 | Depăşit | 1048kb | Time limit exceeded. | 0 |
10 | Depăşit | 1184kb | Time limit exceeded. | 0 |
Punctaj total | 20 |