Pagini recente » Borderou de evaluare (job #1147115) | Borderou de evaluare (job #527404) | Borderou de evaluare (job #166318) | Borderou de evaluare (job #1332697) | Borderou de evaluare (job #1233687)
Borderou de evaluare (job #1233687)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("delay.in", "r", stdin);
^
user.cpp:51:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("delay.out", "w", stdout);
^
user.cpp:52:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:53:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&cost[i]);
^
user.cpp:56:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:74:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d",&q);q;q--)
^
user.cpp:76:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 516kb | OK | 10 |
2 | 8ms | 528kb | OK | 10 |
3 | 20ms | 712kb | OK | 10 |
4 | 64ms | 1524kb | OK | 10 |
5 | 92ms | 2576kb | OK | 10 |
6 | 100ms | 2540kb | OK | 10 |
7 | 100ms | 2516kb | OK | 10 |
8 | 124ms | 3156kb | OK | 10 |
9 | 152ms | 3432kb | OK | 10 |
10 | 200ms | 3840kb | OK | 10 |
Punctaj total | 100 |