Pagini recente » Borderou de evaluare (job #442015) | Borderou de evaluare (job #390922) | Borderou de evaluare (job #950744) | Borderou de evaluare (job #3131024) | Borderou de evaluare (job #2017706)
Borderou de evaluare (job #2017706)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(IN,"%d%d%d",&N,&P,&K);
^
user.cpp:47:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:47:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:50:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(IN,"%d%d",&delay[i],&cost[i]),blocked[i][i]=1;
^
user.cpp:50:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:52:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(IN,"%d%d",&x,&y),blocked[x][y]=1;
^
user.cpp:52:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:47:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d%d",&N,&P,&K);
^
user.cpp:50:61: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&delay[i],&cost[i]),blocked[i][i]=1;
^
user.cpp:52:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&x,&y),blocked[x][y]=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | Incorect | 0 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 0ms | 472kb | Incorect | 0 |
| 4 | 0ms | 472kb | Incorect | 0 |
| 5 | 0ms | 464kb | OK | 10 |
| 6 | 0ms | 440kb | Incorect | 0 |
| 7 | 0ms | 444kb | Incorect | 0 |
| 8 | 0ms | 436kb | Incorect | 0 |
| 9 | 0ms | 460kb | Incorect | 0 |
| 10 | 0ms | 468kb | Incorect | 0 |
| Punctaj total | 20 |