Pagini recente » Borderou de evaluare (job #1998026) | Borderou de evaluare (job #1512581) | Borderou de evaluare (job #1051852) | Borderou de evaluare (job #1473761) | Borderou de evaluare (job #1360320)
Borderou de evaluare (job #1360320)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.in", "r", stdin);
^
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.out", "w", stdout);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
user.cpp:31: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:35: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]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 356kb | OK | 10 |
2 | 0ms | 364kb | OK | 10 |
3 | 0ms | 380kb | OK | 10 |
4 | 0ms | 1248kb | OK | 10 |
5 | 4ms | 1816kb | OK | 10 |
6 | 4ms | 1956kb | OK | 10 |
7 | 112ms | 35044kb | OK | 10 |
8 | 160ms | 41548kb | OK | 10 |
9 | 144ms | 41560kb | OK | 10 |
10 | 164ms | 41556kb | OK | 10 |
Punctaj total | 100 |