Pagini recente » Borderou de evaluare (job #1617193) | Borderou de evaluare (job #2459226) | Cod sursa (job #1672501) | Borderou de evaluare (job #2335555) | Borderou de evaluare (job #1356950)
Borderou de evaluare (job #1356950)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrol.in", "r", stdin);
^
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrol.out", "w", stdout);
^
user.cpp:54:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&p);
^
user.cpp:55:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&cost[i]);
^
user.cpp:56:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=m;i++) scanf("%d%d",&muchie[i].x,&muchie[i].y);
^
user.cpp:59:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&patrula[i][0]);
^
user.cpp:60:69: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=patrula[i][0];j++) scanf("%d",&patrula[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1880kb | OK | 10 |
2 | 0ms | 1880kb | Incorect | 0 |
3 | 0ms | 1900kb | OK | 10 |
4 | 20ms | 2636kb | OK | 10 |
5 | 20ms | 2636kb | OK | 10 |
6 | 80ms | 5804kb | OK | 10 |
7 | 244ms | 13724kb | OK | 10 |
8 | 116ms | 5604kb | OK | 10 |
9 | 248ms | 11972kb | OK | 10 |
10 | 256ms | 11968kb | OK | 10 |
Punctaj total | 90 |