Pagini recente » Borderou de evaluare (job #121555) | Borderou de evaluare (job #1534505) | Borderou de evaluare (job #1457152) | Borderou de evaluare (job #2046247) | Borderou de evaluare (job #1620592)
Borderou de evaluare (job #1620592)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:40:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:46: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:46:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:46:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:46:64: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:35: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:36: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:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:46: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 | 3752kb | OK | 5 |
2 | 68ms | 4400kb | OK | 5 |
3 | 60ms | 3612kb | OK | 5 |
4 | 28ms | 2172kb | OK | 5 |
5 | 60ms | 3920kb | OK | 5 |
6 | 56ms | 3432kb | OK | 5 |
7 | 48ms | 2896kb | OK | 5 |
8 | 32ms | 2368kb | OK | 5 |
9 | 32ms | 2368kb | OK | 5 |
10 | 60ms | 3412kb | OK | 5 |
11 | 40ms | 2368kb | OK | 5 |
12 | 44ms | 2476kb | OK | 5 |
13 | 148ms | 8140kb | OK | 5 |
14 | 148ms | 8176kb | OK | 5 |
15 | 144ms | 8176kb | OK | 5 |
16 | 148ms | 8176kb | OK | 5 |
17 | 128ms | 6928kb | OK | 5 |
18 | 128ms | 6928kb | OK | 5 |
19 | 128ms | 6928kb | OK | 5 |
20 | 128ms | 6936kb | OK | 5 |
Punctaj total | 100 |