Pagini recente » Borderou de evaluare (job #142852) | Borderou de evaluare (job #642409) | Borderou de evaluare (job #879986) | Borderou de evaluare (job #616267) | Borderou de evaluare (job #1481467)
Borderou de evaluare (job #1481467)
Raport evaluator
Compilare:
user.cpp: In function ‘void function()’:
user.cpp:30:7: warning: unused variable ‘nr’ [-Wunused-variable]
int nr=0;
^
user.cpp: In function ‘int main()’:
user.cpp:49:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f1,"%d",&vin[i]);
^
user.cpp:51:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f1,"%d",&pdat[i]);
^
user.cpp:43:12: warning: variable ‘f2’ set but not used [-Wunused-but-set-variable]
FILE* f1,*f2;
^
user.cpp:47:8: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:46:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&N);
^
user.cpp:49:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&vin[i]);
^
user.cpp:51:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&pdat[i]);
^
user.cpp: In function ‘void function()’:
user.cpp:32:14: warning: array subscript is below array bounds [-Warray-bounds]
vizitat[poz]=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | Wrong answer! | 0 |
2 | 0ms | 276kb | Wrong answer! | 0 |
3 | Depăşit | 252kb | Time limit exceeded. | 0 |
4 | Depăşit | 252kb | Time limit exceeded. | 0 |
5 | Depăşit | 252kb | Time limit exceeded. | 0 |
6 | 4ms | 280kb | Wrong answer! | 0 |
7 | Depăşit | 252kb | Time limit exceeded. | 0 |
8 | Depăşit | 252kb | Time limit exceeded. | 0 |
9 | 0ms | 276kb | Wrong answer! | 0 |
10 | Depăşit | 252kb | Time limit exceeded. | 0 |
Punctaj total | 0 |