Pagini recente » Borderou de evaluare (job #1819827) | Borderou de evaluare (job #276365) | Borderou de evaluare (job #632625) | Borderou de evaluare (job #2662419) | Borderou de evaluare (job #2305710)
Borderou de evaluare (job #2305710)
Raport evaluator
Compilare:
main.cpp:31:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main() {
^
main.cpp: In function 'int main()':
main.cpp:35:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.in","r",stdin);
^
main.cpp:37:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("buget.out","w",stdout);
^
main.cpp:39:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &b);
^
main.cpp:43:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 5ms | 131kb | OK | 10 |
6 | 5ms | 131kb | OK | 10 |
7 | 26ms | 393kb | OK | 10 |
8 | 23ms | 393kb | OK | 10 |
9 | 56ms | 917kb | OK | 10 |
10 | 52ms | 917kb | OK | 10 |
Punctaj total | 100 |