Pagini recente » Borderou de evaluare (job #1277953) | Borderou de evaluare (job #1695462) | Borderou de evaluare (job #3135772) | Borderou de evaluare (job #2005843) | Borderou de evaluare (job #2196472)
Borderou de evaluare (job #2196472)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&d[i][j]);
^
user.cpp:2:13: warning: overflow in implicit constant conversion [-Woverflow]
#define INF 1e9
^
user.cpp:24:25: note: in expansion of macro ‘INF’
d[i][j]=INF;
^~~
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("royfloyd.in","r",stdin);
^
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("royfloyd.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1324kb | OK | 10 |
2 | 0ms | 1328kb | OK | 10 |
3 | 0ms | 1328kb | OK | 10 |
4 | 0ms | 1332kb | OK | 10 |
5 | 0ms | 1328kb | OK | 10 |
6 | 0ms | 1332kb | OK | 10 |
7 | 4ms | 1332kb | OK | 10 |
8 | 4ms | 1336kb | OK | 10 |
9 | 4ms | 1340kb | OK | 10 |
10 | 8ms | 1336kb | OK | 10 |
Punctaj total | 100 |