Pagini recente » Borderou de evaluare (job #2720115) | Borderou de evaluare (job #1018574) | Borderou de evaluare (job #1010430) | Borderou de evaluare (job #1403296) | Borderou de evaluare (job #2170589)
Borderou de evaluare (job #2170589)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld", &n, &m);
^
user.cpp:19:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:21:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld", &v[ i ]);
^
user.cpp:34:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld", &x, &y);
^
user.cpp:34:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:38:63: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n", min(rmq[ l ][ x ], rmq[ l ][ x + sh ]));
^
user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in", "r", stdin);
^
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out", "w", stdout);
^
user.cpp:19:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &n, &m);
^
user.cpp:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &v[ i ]);
^
user.cpp:34:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 4ms | 7052kb | OK | 10 | 10 |
| 2 | 4ms | 8964kb | OK | 10 | 10 |
| 3 | 12ms | 13324kb | OK | 10 | 10 |
| 4 | 100ms | 16172kb | OK | 10 | 10 |
| 5 | 120ms | 16224kb | OK | 10 | 20 |
| 6 | 692ms | 16088kb | OK | 10 |
| 7 | 708ms | 18576kb | OK | 10 | 10 |
| 8 | 856ms | 18888kb | OK | 10 | 10 |
| 9 | 956ms | 18848kb | OK | 10 | 10 |
| 10 | 1052ms | 18848kb | OK | 10 | 10 |
| Punctaj total | 100 |