Pagini recente » Borderou de evaluare (job #595273) | Borderou de evaluare (job #2251923)
Borderou de evaluare (job #2251923)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:38:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", sol);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("valoare.in", "r", stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("valoare.out", "w", stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 752kb | OK | 20 | 20 |
2 | 0ms | 808kb | Incorect | 0 | 0 |
3 | 28ms | 1364kb | OK | 20 | 40 |
4 | 28ms | 1360kb | OK | 20 |
5 | 36ms | 1360kb | Incorect | 0 | 0 |
Punctaj total | 60 |