Pagini recente » Borderou de evaluare (job #423757) | Borderou de evaluare (job #2977982) | Borderou de evaluare (job #536274) | Borderou de evaluare (job #614183) | Borderou de evaluare (job #1363868)
Borderou de evaluare (job #1363868)
Raport evaluator
Compilare:
user.cpp: In function ‘void Afisare_Vector(int*, long int)’:
user.cpp:11:65: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d - %s\n ",i, ( v[i]==-1 ? "NP" :"ESTE PRIM" ) ) ;
^
user.cpp: In function ‘int main()’:
user.cpp:66:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:95:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",S);
^
user.cpp:66:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 776kb | Time limit exceeded. | 0 |
| 2 | 52ms | 440kb | Ok! | 10 |
| 3 | Depăşit | 424kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 648kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 868kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1392kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2300kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 3260kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4292kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |