Pagini recente » Borderou de evaluare (job #1765643) | Borderou de evaluare (job #2759552) | Borderou de evaluare (job #2303828)
Borderou de evaluare (job #2303828)
Raport evaluator
Compilare:
main.cpp:15:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main() {
^
main.cpp: In function 'int main()':
main.cpp:17: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:18: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:19: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:21: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 | 3ms | 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 | 55ms | 917kb | OK | 10 |
10 | 51ms | 786kb | OK | 10 |
Punctaj total | 100 |