Borderou de evaluare (job #2350834)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 21 februarie 2019 18:57:09
Problema Divk Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d", &x); ^ main.cpp:27:23: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=] printf("%lld", sol); ^ main.cpp:13:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("divk.in", "r", stdin); ^ main.cpp:14:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("divk.out", "w", stdout); ^ main.cpp:16:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &N, &K, &A, &B); ^ main.cpp:18:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbOK10
310ms262kbOK10
428ms524kbOK10
555ms917kbOK10
696ms2490kbOK10
7102ms1835kbOK10
8127ms2359kbOK10
9152ms3932kbOK10
10200ms4194kbTime limit exceeded0
Punctaj total90

Ceva nu functioneaza?