Pagini recente » Borderou de evaluare (job #915088) | Borderou de evaluare (job #1519639) | Borderou de evaluare (job #2317797) | Borderou de evaluare (job #1983346) | Borderou de evaluare (job #1297145)
Borderou de evaluare (job #1297145)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &n);
^
user.cpp:16:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &a);
^
user.cpp:27:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ", min);
^
user.cpp:28:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ", max);
^
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("numere5.in", "r", stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere5.out", "w", stdout);
^
user.cpp:12:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 56ms | 436kb | OK | 10 | 50 |
2 | 0ms | 256kb | OK | 10 |
3 | 64ms | 500kb | OK | 10 |
4 | 36ms | 396kb | OK | 10 |
5 | 88ms | 588kb | OK | 10 |
6 | 164ms | 292kb | Incorect | 0 | 0 |
7 | 200ms | Depăşit | Memory limit exceeded. | 0 |
8 | 232ms | Depăşit | Memory limit exceeded. | 0 |
9 | 216ms | 244kb | Incorect | 0 |
10 | 240ms | 496kb | OK | 10 |
Punctaj total | 50 |