Pagini recente » Borderou de evaluare (job #1621057) | Borderou de evaluare (job #653307) | Borderou de evaluare (job #1103127) | Borderou de evaluare (job #3217712) | Borderou de evaluare (job #2166666)
Borderou de evaluare (job #2166666)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out, "%d", rez);
^
user.cpp:10:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
user.cpp:12:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v[i]);
^
user.cpp:39:22: warning: iteration 7000u invokes undefined behavior [-Waggressive-loop-optimizations]
rez += 1LL * fr[i] * (fr[i] - 1) * (fr[i] - 2) / 6;
^
user.cpp:38:16: note: containing loop
for(i = 0; i <= MAXV; i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1448kb | Incorect | 0 | 0 |
2 | 0ms | 1416kb | Incorect | 0 | 0 |
3 | 0ms | 1348kb | Incorect | 0 | 0 |
4 | 24ms | 1428kb | Incorect | 0 | 0 |
5 | 168ms | 1472kb | Incorect | 0 | 0 |
6 | 144ms | 1464kb | Incorect | 0 | 0 |
7 | 60ms | 1360kb | Incorect | 0 | 0 |
8 | 192ms | 1452kb | OK | 10 |
9 | 244ms | 1480kb | Incorect | 0 |
10 | Depăşit | 1280kb | Time limit exceeded. | 0 |
Punctaj total | 0 |