Pagini recente » Borderou de evaluare (job #973877) | Borderou de evaluare (job #2112104) | Borderou de evaluare (job #691465) | Borderou de evaluare (job #2203850) | Borderou de evaluare (job #1627091)
Borderou de evaluare (job #1627091)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:9:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:40:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",mx);
^
user.cpp:5:39: 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:6:41: 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:7:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:9:26: 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 | 276kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 8ms | 1060kb | Incorect | 0 |
5 | 20ms | 1920kb | Incorect | 0 |
6 | 24ms | 2620kb | OK | 10 |
7 | 52ms | 4612kb | Incorect | 0 |
8 | 68ms | 5300kb | Incorect | 0 |
9 | 64ms | 4732kb | Incorect | 0 |
10 | 68ms | 5024kb | Incorect | 0 |
Punctaj total | 40 |