Pagini recente » Borderou de evaluare (job #1875253) | Borderou de evaluare (job #590635) | Borderou de evaluare (job #1724856) | Borderou de evaluare (job #1841056) | Borderou de evaluare (job #2088303)
Borderou de evaluare (job #2088303)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&s[i]);
^
user.cpp:73:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",ans[i]);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("examen.out","w",stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:14:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&s[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 56ms | 1824kb | Incorect | 0 |
3 | 52ms | 1824kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 56ms | 1828kb | OK | 10 |
7 | 0ms | 264kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 0ms | 280kb | OK | 10 |
10 | 36ms | 1312kb | OK | 10 |
Punctaj total | 80 |