Pagini recente » Borderou de evaluare (job #2404727) | Borderou de evaluare (job #1166511) | Borderou de evaluare (job #693231) | Borderou de evaluare (job #1245431) | Borderou de evaluare (job #1734388)
Borderou de evaluare (job #1734388)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n", &n);
^
user.cpp:17:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &a[i]);
^
user.cpp:31:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", Max);
^
user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.in", "r", stdin);
^
user.cpp:12:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strabunica.out", "w", stdout);
^
user.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:17:28: 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 |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 8ms | 628kb | Incorect | 0 |
5 | 16ms | 860kb | Incorect | 0 |
6 | 20ms | 1216kb | Incorect | 0 |
7 | 48ms | 1608kb | Incorect | 0 |
8 | 52ms | 1792kb | Incorect | 0 |
9 | 52ms | 1908kb | Incorect | 0 |
10 | 64ms | 1996kb | Incorect | 0 |
Punctaj total | 30 |