Pagini recente » Borderou de evaluare (job #2046574) | Borderou de evaluare (job #3265326) | Borderou de evaluare (job #1888079) | Borderou de evaluare (job #2739503) | Borderou de evaluare (job #1297146)
Borderou de evaluare (job #1297146)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &n);
^
user.cpp:16:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &auxi);
^
user.cpp:24:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ", i);
^
user.cpp:30:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ", i);
^
user.cpp:7:35: 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:8:37: 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:10:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &auxi);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 52ms | 440kb | OK | 10 | 50 |
| 2 | 0ms | 252kb | OK | 10 |
| 3 | 72ms | 500kb | OK | 10 |
| 4 | 40ms | 396kb | OK | 10 |
| 5 | 96ms | 604kb | OK | 10 |
| 6 | 80ms | 288kb | Incorect | 0 | 0 |
| 7 | 124ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 112ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 72ms | 256kb | Incorect | 0 |
| 10 | 104ms | 492kb | OK | 10 |
| Punctaj total | 50 |