Pagini recente » Borderou de evaluare (job #3122226) | Borderou de evaluare (job #3186493) | Borderou de evaluare (job #2256727) | Borderou de evaluare (job #2382759) | Borderou de evaluare (job #2612609)
Borderou de evaluare (job #2612609)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", ans);
^
main.cpp:28:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", ans);
^
main.cpp:11:35: 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:12:37: 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:15:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:17:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 2ms | 131kb | OK | 10 | 10 |
✓ | 2 | 2ms | 131kb | OK | 10 | 10 |
✓ | 3 | 2ms | 131kb | Incorect | 0 | 0 |
✓ | 4 | 3ms | 131kb | Incorect | 0 | 0 |
✓ | 5 | 124ms | 1572kb | Incorect | 0 | 0 |
✓ | 6 | 83ms | 1703kb | Incorect | 0 |
✓ | 7 | 106ms | 1572kb | Incorect | 0 |
✓ | 8 | 115ms | 1572kb | Incorect | 0 |
✓ | 9 | 107ms | 1572kb | Incorect | 0 |
✓ | 10 | 107ms | 1572kb | Incorect | 0 |
Punctaj total | 20 |