Pagini recente » Borderou de evaluare (job #3273761) | Borderou de evaluare (job #1269763) | Borderou de evaluare (job #2558899) | Borderou de evaluare (job #687172) | Borderou de evaluare (job #1858854)
Borderou de evaluare (job #1858854)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.in","r",stdin);
^
user.cpp:19:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("costuri.out","w",stdout);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i].val);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q);
^
user.cpp:39:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 440kb | OK | 10 |
| 4 | 136ms | 1608kb | OK | 10 |
| 5 | 140ms | 1608kb | OK | 10 |
| 6 | 136ms | 1608kb | OK | 10 |
| 7 | 124ms | 1504kb | OK | 10 |
| 8 | 144ms | 1616kb | OK | 10 |
| 9 | 140ms | 1612kb | OK | 10 |
| 10 | 140ms | 1608kb | OK | 10 |
| Punctaj total | 100 |