Pagini recente » Borderou de evaluare (job #1631213) | Borderou de evaluare (job #1566666) | Borderou de evaluare (job #2341432) | Borderou de evaluare (job #490363) | Borderou de evaluare (job #1463810)
Borderou de evaluare (job #1463810)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d",&n,&a[1],&b[1],&c[1]);
^
user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:16:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,x,i,j,mini,maxi;
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curcubeu.in","r",stdin);
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curcubeu.out","w",stdout);
^
user.cpp:17:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&a[1],&b[1],&c[1]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 292kb | OK | 10 | 20 |
2 | 0ms | 292kb | OK | 10 |
3 | 16ms | 1592kb | OK | 10 | 30 |
4 | 28ms | 2748kb | OK | 10 |
5 | 36ms | 3168kb | OK | 10 |
6 | 472ms | 29928kb | OK | 10 | 30 |
7 | 444ms | 28760kb | OK | 10 |
8 | 480ms | 30264kb | OK | 10 |
9 | 468ms | 29616kb | OK | 10 | 20 |
10 | 460ms | 29388kb | OK | 10 |
Punctaj total | 100 |