Pagini recente » Cod sursa (job #281201) | Cod sursa (job #2232674) | Cod sursa (job #537393) | Cod sursa (job #558792) | Borderou de evaluare (job #2252321)
Borderou de evaluare (job #2252321)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
fscanf(IN,"%d%d%d%d%d%d%d%d",&N,&M,&s.X,&s.Y,&s.Z,&f.X,&f.Y,&f.Z);
^
user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=]
user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=]
user.cpp:69:69: warning: format ‘%d’ expects argument of type ‘int*’, but argument 10 has type ‘short int*’ [-Wformat=]
user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(IN,"%d%d%d",&aux.X,&aux.Y,&aux.Z);
^
user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:69:70: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d%d%d%d%d%d%d",&N,&M,&s.X,&s.Y,&s.Z,&f.X,&f.Y,&f.Z);
^
user.cpp:77:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d%d",&aux.X,&aux.Y,&aux.Z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 7488kb | Corect! | 5 |
| 2 | 256ms | 13724kb | Solutie incorecta! | 2 |
| 3 | 8ms | 7492kb | Corect! | 5 |
| 4 | 4ms | 7484kb | Corect! | 5 |
| 5 | 4ms | 7492kb | Corect! | 5 |
| 6 | 8ms | 9544kb | Corect! | 5 |
| 7 | 24ms | 9556kb | Corect! | 5 |
| 8 | 48ms | 11628kb | Corect! | 5 |
| 9 | 104ms | 13696kb | Solutie incorecta! | 2 |
| 10 | 252ms | 13732kb | Corect! | 5 |
| 11 | 248ms | 13736kb | Solutie incorecta! | 2 |
| 12 | 68ms | 13692kb | Solutie incorecta! | 2 |
| 13 | 148ms | 13704kb | Corect! | 5 |
| 14 | 92ms | 13688kb | Corect! | 5 |
| 15 | 180ms | 13740kb | Corect! | 5 |
| 16 | 248ms | 13732kb | Corect! | 5 |
| 17 | 256ms | 13724kb | Solutie incorecta! | 2 |
| 18 | 256ms | 13724kb | Corect! | 5 |
| 19 | 240ms | 13724kb | Solutie incorecta! | 2 |
| 20 | 212ms | 13724kb | Corect! | 5 |
| Punctaj total | 82 |