Pagini recente » Borderou de evaluare (job #159830) | Borderou de evaluare (job #592367) | Borderou de evaluare (job #79203) | Borderou de evaluare (job #234992) | Borderou de evaluare (job #1612744)
Borderou de evaluare (job #1612744)
Raport evaluator
Compilare:
user.cpp: In function ‘void sortare(int, int)’:
user.cpp:7:12: warning: variable ‘t’ set but not used [-Wunused-but-set-variable]
int x,i,j,t;
^
user.cpp: In function ‘int main()’:
user.cpp:32:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d %d",&v[i][0],&v[i][1]);
^
user.cpp:32:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:30:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:32:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&v[i][0],&v[i][1]);
^
user.cpp:37:26: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[i][1]<ref) k++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 4ms | 344kb | Incorect | 0 |
4 | 8ms | 384kb | Incorect | 0 |
5 | 8ms | 380kb | Incorect | 0 |
6 | 8ms | 384kb | Incorect | 0 |
7 | 8ms | 380kb | OK | 10 |
8 | 8ms | 388kb | Incorect | 0 |
9 | 8ms | 380kb | Incorect | 0 |
10 | 8ms | 388kb | Incorect | 0 |
Punctaj total | 10 |