Pagini recente » Borderou de evaluare (job #3266207) | Borderou de evaluare (job #475197) | Borderou de evaluare (job #1564143) | Borderou de evaluare (job #1190824) | Borderou de evaluare (job #2251924)
Borderou de evaluare (job #2251924)
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: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 | 936kb | OK | 20 | 20 |
2 | 0ms | 868kb | OK | 20 | 20 |
3 | 32ms | 1364kb | OK | 20 | 40 |
4 | 32ms | 1360kb | OK | 20 |
5 | 48ms | 1360kb | OK | 20 | 20 |
Punctaj total | 100 |