Pagini recente » Borderou de evaluare (job #2255394) | Borderou de evaluare (job #421511) | Borderou de evaluare (job #468220) | Borderou de evaluare (job #2601110) | Borderou de evaluare (job #2252334)
Borderou de evaluare (job #2252334)
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 | 7492kb | Corect! | 5 |
2 | 292ms | 13724kb | Corect! | 5 |
3 | 8ms | 7496kb | Corect! | 5 |
4 | 4ms | 7484kb | Corect! | 5 |
5 | 4ms | 7492kb | Corect! | 5 |
6 | 12ms | 9544kb | Corect! | 5 |
7 | 24ms | 9556kb | Corect! | 5 |
8 | 52ms | 11628kb | Corect! | 5 |
9 | 128ms | 13696kb | Corect! | 5 |
10 | 292ms | 13732kb | Corect! | 5 |
11 | 284ms | 13736kb | Corect! | 5 |
12 | 80ms | 13688kb | Corect! | 5 |
13 | 172ms | 13700kb | Corect! | 5 |
14 | 108ms | 13688kb | Corect! | 5 |
15 | 208ms | 13740kb | Corect! | 5 |
16 | 296ms | 13732kb | Corect! | 5 |
17 | 292ms | 13724kb | Corect! | 5 |
18 | 288ms | 13724kb | Corect! | 5 |
19 | 292ms | 13728kb | Corect! | 5 |
20 | 280ms | 13724kb | Corect! | 5 |
Punctaj total | 100 |