Pagini recente » Borderou de evaluare (job #2627341) | Borderou de evaluare (job #2402565) | Borderou de evaluare (job #2246191) | Borderou de evaluare (job #679064) | Borderou de evaluare (job #1297167)
Borderou de evaluare (job #1297167)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &n);
^
user.cpp:18:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &auxi);
^
user.cpp:26:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ", i);
^
user.cpp:32:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ", i);
^
user.cpp:9: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:10: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:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
user.cpp:18: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 | 60ms | 272kb | OK | 10 | 50 |
2 | 0ms | 244kb | OK | 10 |
3 | 72ms | 276kb | OK | 10 |
4 | 40ms | 268kb | OK | 10 |
5 | 92ms | 288kb | OK | 10 |
6 | 84ms | 256kb | OK | 10 | 50 |
7 | 112ms | 300kb | OK | 10 |
8 | 132ms | 304kb | OK | 10 |
9 | 80ms | 244kb | OK | 10 |
10 | 108ms | 272kb | OK | 10 |
Punctaj total | 100 |