Pagini recente » Borderou de evaluare (job #2278254) | Borderou de evaluare (job #1620244) | Borderou de evaluare (job #208848) | Borderou de evaluare (job #1284814) | Borderou de evaluare (job #1984899)
Borderou de evaluare (job #1984899)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d", &a[i], &ok);
^
user.cpp:12:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buline.in", "r", stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("buline.out", "w", stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:12:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a[i], &ok);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | Suma gresita! | 0 |
| 2 | 0ms | 300kb | OK! | 10 |
| 3 | 0ms | 488kb | OK! | 10 |
| 4 | 8ms | 880kb | OK! | 10 |
| 5 | 16ms | 1620kb | OK! | 10 |
| 6 | 32ms | 2696kb | OK! | 10 |
| 7 | 52ms | 3992kb | OK! | 10 |
| 8 | 76ms | 4968kb | OK! | 10 |
| 9 | 92ms | 5744kb | OK! | 10 |
| 10 | 104ms | 7208kb | OK! | 10 |
| Punctaj total | 90 |