Pagini recente » Borderou de evaluare (job #705449) | Borderou de evaluare (job #1159049) | Borderou de evaluare (job #47093) | Borderou de evaluare (job #2496329) | Borderou de evaluare (job #2429123)
Borderou de evaluare (job #2429123)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:38:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d%d%d", &n, &a, &b, &c ) ;
^
main.cpp: In function 'void sortbybit(int, int)':
main.cpp:28:10: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
f[i] = 0 ;
~~~~~^~~
main.cpp:27:18: note: within this loop
for (i = 0 ; i <= VALMAX ; i++ )
^
main.cpp:22:18: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations]
f[i] += f[i-1] ;
^
main.cpp:21:18: note: within this loop
for (i = 1 ; i <= VALMAX ; i++ )
^
main.cpp:22:18: warning: array subscript is above array bounds [-Warray-bounds]
f[i] += f[i-1] ;
^
main.cpp:22:10: warning: array subscript is above array bounds [-Warray-bounds]
f[i] += f[i-1] ;
~~~~~^~~~~~~~~
main.cpp:28:8: warning: array subscript is above array bounds [-Warray-bounds]
f[i] = 0 ;
~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 30 |
2 | 69ms | 917kb | OK | 10 |
3 | 699ms | 8650kb | OK | 10 |
4 | 634ms | 8650kb | OK | 10 | 0 |
5 | 2000ms | 80084kb | Time limit exceeded | 0 |
6 | 2000ms | 80084kb | Time limit exceeded | 0 |
7 | 713ms | 9175kb | Incorect | 0 |
8 | 2000ms | 80216kb | Time limit exceeded | 0 | 0 |
9 | 2000ms | 80084kb | Time limit exceeded | 0 |
10 | 2000ms | 80084kb | Time limit exceeded | 0 |
Punctaj total | 30 |