Pagini recente » Borderou de evaluare (job #2303509) | Borderou de evaluare (job #1311886) | Borderou de evaluare (job #2248259) | Borderou de evaluare (job #22915) | Borderou de evaluare (job #2694732)
Borderou de evaluare (job #2694732)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:49:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d %d", &n, &m );
^
main.cpp:53:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &x );
^
main.cpp:60:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &q );
^
main.cpp:63:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &x );
^
main.cpp: In function 'void radix_sort(int*, int*, int, int)':
main.cpp:23:54: warning: array subscript is above array bounds [-Warray-bounds]
freq[ BASE - 1 ] = freq[ BASE - 2 ] = freq[ BASE ] = 0;
~~~~~~~~~~~^
main.cpp: In function 'int caut_bin(int*, int)':
main.cpp:40:30: warning: 'sol' may be used uninitialized in this function [-Wmaybe-uninitialized]
while( sol > 0 && v[ sol ] >= x )
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 4ms | 131kb | OK | 10 |
3 | 16ms | 393kb | OK | 10 |
4 | 32ms | 655kb | OK | 10 |
5 | 47ms | 917kb | OK | 10 |
6 | 61ms | 1179kb | OK | 10 |
7 | 82ms | 1572kb | OK | 10 |
8 | 97ms | 2097kb | OK | 10 |
9 | 144ms | 2621kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |