Pagini recente » Borderou de evaluare (job #422711) | Borderou de evaluare (job #1001429) | Borderou de evaluare (job #2284207) | Borderou de evaluare (job #406977) | Borderou de evaluare (job #2017695)
Borderou de evaluare (job #2017695)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46: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:46:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:48:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(IN,"%d",&x,&y),blocked[x][y]=1;
^
user.cpp:48:29: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:43: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:46: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:48:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&x,&y),blocked[x][y]=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | Depăşit | 644kb | Time limit exceeded. | 0 |
4 | Depăşit | 652kb | Time limit exceeded. | 0 |
5 | 12ms | 624kb | Incorect | 0 |
6 | 0ms | 488kb | Incorect | 0 |
7 | 8ms | 512kb | OK | 10 |
8 | 0ms | 460kb | Incorect | 0 |
9 | Depăşit | 600kb | Time limit exceeded. | 0 |
10 | Depăşit | 648kb | Time limit exceeded. | 0 |
Punctaj total | 30 |