Borderou de evaluare (job #2384895)

Utilizator giotoPopescu Ioan gioto Data 21 martie 2019 12:00:45
Problema One Outs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool check(long long int)': main.cpp:28:14: warning: unused variable 'ok' [-Wunused-variable] bool ok = 0; ^~ main.cpp: In function 'int main()': main.cpp:58:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("oneouts.in", "r", stdin); ^ main.cpp:59:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("oneouts.out", "w", stdout); ^ main.cpp:61:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &k); ^ main.cpp:62:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n ; ++i) scanf("%d", &a[i]); ^ main.cpp:63:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= n ; ++i) scanf("%d", &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms524kbOK10
26ms524kbOK10
37ms524kbOK10
49ms655kbOK10
525ms917kbOK10
625ms917kbOK10
7163ms3538kbOK10
8161ms3670kbOK10
9168ms3932kbOK10
10201ms4325kbOK10
Punctaj total100

Ceva nu functioneaza?