Borderou de evaluare (job #2347266)

Utilizator ardutgamerAndrei Bancila ardutgamer Data 18 februarie 2019 17:14:42
Problema Lumanari Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 30

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%I64d",&n); ^ main.cpp:18:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=] scanf("%I64d",&x); ^ main.cpp:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < v.size() ; i++) ~~^~~~~~~~~~ main.cpp:32:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll {aka long long int}' [-Wformat=] printf("%d",ct); ^ main.cpp:12:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lumanari.in","r",stdin); ^ main.cpp:13:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lumanari.out","w",stdout); ^ main.cpp:15:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&n); ^ main.cpp:18:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
110ms131kbOK1010
22ms131kbOK1010
32ms131kbOK1010
4203ms2347kbTime limit exceeded00
5200ms2347kbTime limit exceeded00
6203ms2347kbTime limit exceeded00
7201ms2347kbTime limit exceeded00
8201ms2347kbTime limit exceeded00
9169ms2347kbOK10
10200ms2347kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?