Pagini recente » Borderou de evaluare (job #264323) | Borderou de evaluare (job #2564131) | Borderou de evaluare (job #2948411) | Borderou de evaluare (job #781192) | Borderou de evaluare (job #1225178)
Borderou de evaluare (job #1225178)
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 | 248kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 28ms | 340kb | OK | 10 |
4 | 76ms | 428kb | OK | 10 |
5 | 140ms | 552kb | OK | 10 |
6 | 164ms | 580kb | OK | 10 |
7 | 292ms | 728kb | OK | 10 |
8 | Depăşit | 836kb | Time limit exceeded. | 0 |
9 | Depăşit | 1044kb | Time limit exceeded. | 0 |
10 | Depăşit | 1180kb | Time limit exceeded. | 0 |
Punctaj total | 70 |