Borderou de evaluare (job #1584173)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",d[i][j]);
^
user.cpp:71:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",d[s[i]][p[i]]);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bridge.in","r",stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bridge.out","w",stdout);
^
user.cpp:8:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&dest[i]);
^
user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&s[i],&p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | Incorect | 0 |
2 | 0ms | 328kb | Incorect | 0 |
3 | 0ms | 372kb | Incorect | 0 |
4 | 0ms | 452kb | Incorect | 0 |
5 | Depăşit | 332kb | Time limit exceeded. | 0 |
6 | Depăşit | 340kb | Time limit exceeded. | 0 |
7 | Depăşit | 340kb | Time limit exceeded. | 0 |
8 | Depăşit | 332kb | Time limit exceeded. | 0 |
9 | Depăşit | 340kb | Time limit exceeded. | 0 |
10 | Depăşit | 328kb | Time limit exceeded. | 0 |
Punctaj total | 0 |