Pagini recente » Borderou de evaluare (job #1919616) | Borderou de evaluare (job #271268) | Borderou de evaluare (job #1400573) | Borderou de evaluare (job #1972709) | Borderou de evaluare (job #1882610)
Borderou de evaluare (job #1882610)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35: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:36: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:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:40:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i].nr);
^
user.cpp:45:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:48:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&c,&pp);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 248kb | OK | 10 |
| 3 | 0ms | 252kb | OK | 10 |
| 4 | 148ms | 1424kb | OK | 10 |
| 5 | 152ms | 1424kb | OK | 10 |
| 6 | 148ms | 1428kb | OK | 10 |
| 7 | 132ms | 1312kb | OK | 10 |
| 8 | 152ms | 1428kb | OK | 10 |
| 9 | 152ms | 1428kb | OK | 10 |
| 10 | 152ms | 1428kb | OK | 10 |
| Punctaj total | 100 |