Pagini recente » Borderou de evaluare (job #1567787) | Borderou de evaluare (job #482308) | Borderou de evaluare (job #1159114) | Borderou de evaluare (job #184015) | Borderou de evaluare (job #2011907)
Borderou de evaluare (job #2011907)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ", sum);
^
user.cpp:25:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sum);
^
user.cpp:8:36: 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:9:38: 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:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 60ms | 288kb | Incorect | 0 | 0 |
2 | 0ms | 288kb | OK | 10 |
3 | 72ms | 288kb | OK | 10 |
4 | 40ms | 284kb | OK | 10 |
5 | 96ms | 284kb | OK | 10 |
6 | 176ms | 292kb | Incorect | 0 | 0 |
7 | 216ms | 292kb | Incorect | 0 |
8 | 268ms | 288kb | Incorect | 0 |
9 | 224ms | 292kb | Incorect | 0 |
10 | 252ms | 284kb | Incorect | 0 |
Punctaj total | 0 |