Pagini recente » Profil Simon2712 | Borderou de evaluare (job #1620587)
Borderou de evaluare (job #1620587)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:45:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d %d", &Q[i].a, &Q[i].b, &Q[i].x, &Q[i].y);
^
user.cpp:45:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:45:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:45:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:34:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qxy.in", "r", stdin);
^
user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qxy.out", "w", stdout);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:42:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:45:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &Q[i].a, &Q[i].b, &Q[i].x, &Q[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 56ms | 3756kb | OK | 5 |
2 | 68ms | 4404kb | OK | 5 |
3 | 60ms | 3628kb | OK | 5 |
4 | 28ms | 2176kb | OK | 5 |
5 | 60ms | 3924kb | OK | 5 |
6 | 56ms | 3448kb | OK | 5 |
7 | 48ms | 2888kb | OK | 5 |
8 | 32ms | 2360kb | OK | 5 |
9 | 36ms | 2360kb | OK | 5 |
10 | 60ms | 3428kb | OK | 5 |
11 | 40ms | 2624kb | OK | 5 |
12 | 40ms | 2488kb | OK | 5 |
13 | 148ms | 8160kb | OK | 5 |
14 | 144ms | 8172kb | OK | 5 |
15 | 148ms | 8172kb | OK | 5 |
16 | 148ms | Depăşit | Memory limit exceeded. | 0 |
17 | 128ms | 6948kb | OK | 5 |
18 | 128ms | 6948kb | OK | 5 |
19 | 128ms | 6944kb | OK | 5 |
20 | 124ms | 6952kb | OK | 5 |
Punctaj total | 95 |