Pagini recente » Borderou de evaluare (job #1400243) | Cod sursa (job #389986) | Borderou de evaluare (job #2833303) | Borderou de evaluare (job #949688) | Borderou de evaluare (job #1481469)
Borderou de evaluare (job #1481469)
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: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 | 280kb | OK! | 10 |
| 2 | 0ms | 272kb | OK! | 10 |
| 3 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 252kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 6 | 4ms | 276kb | Wrong answer! | 0 |
| 7 | Depăşit | 256kb | 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 | 20 |