Pagini recente » Borderou de evaluare (job #2653319) | Borderou de evaluare (job #2255044) | Borderou de evaluare (job #1087730) | Borderou de evaluare (job #2200004) | Borderou de evaluare (job #1366849)
Borderou de evaluare (job #1366849)
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:71:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:96:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf(" S=%d ",S);
^
user.cpp:97:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d",S);
^
user.cpp:71: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 | 820kb | Time limit exceeded. | 0 |
| 2 | 36ms | 460kb | Ok! | 10 |
| 3 | Depăşit | 464kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 484kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 680kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 908kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1428kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2344kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 3296kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4328kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |