Pagini recente » Borderou de evaluare (job #2232479) | Borderou de evaluare (job #2715736) | Borderou de evaluare (job #2875292) | Borderou de evaluare (job #3249998) | Borderou de evaluare (job #2612554)
Borderou de evaluare (job #2612554)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
if(n % 2) printf("%d\n", Sum);
^
main.cpp:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("minmax.in", "r", stdin);
^
main.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("minmax.out", "w" ,stdout);
^
main.cpp:13:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:16:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 2ms | 131kb | OK | 10 | 10 |
✓ | 2 | 2ms | 131kb | OK | 10 | 10 |
✓ | 3 | 3ms | 131kb | OK | 10 | 10 |
✓ | 4 | 4ms | 131kb | OK | 10 | 10 |
✓ | 5 | 234ms | 6684kb | OK | 10 | 0 |
✓ | 6 | 191ms | 6422kb | OK | 10 |
✓ | 7 | 228ms | 6684kb | OK | 10 |
✓ | 8 | 228ms | 6815kb | OK | 10 |
✓ | 9 | 244ms | 6684kb | OK | 10 |
✓ | 10 | 221ms | 6684kb | Incorect | 0 |
Punctaj total | 40 |