Pagini recente » Borderou de evaluare (job #1910839) | Borderou de evaluare (job #2170051) | Cod sursa (job #1756735) | Borderou de evaluare (job #1364365) | Borderou de evaluare (job #1859733)
Borderou de evaluare (job #1859733)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",cost+i);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&cnt);
^
user.cpp:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&vec);
^
user.cpp: In function ‘int main()’:
user.cpp:65:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in", "r", stdin);
^
user.cpp:66:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 420kb | OK! | 10 |
| 2 | 0ms | 432kb | OK! | 10 |
| 3 | 0ms | 444kb | A doua valoare gresita! | 7 |
| 4 | 0ms | 436kb | OK! | 10 |
| 5 | 0ms | 492kb | A doua valoare gresita! | 7 |
| 6 | 0ms | 492kb | A doua valoare gresita! | 7 |
| 7 | 0ms | 432kb | OK! | 10 |
| 8 | 0ms | 444kb | OK! | 10 |
| 9 | 0ms | 448kb | OK! | 10 |
| 10 | 0ms | 436kb | OK! | 10 |
| Punctaj total | 91 |