Borderou de evaluare (job #2651516)

Utilizator Senth30Denis-Florin Cringanu Senth30 Data 22 septembrie 2020 20:06:19
Problema Fabrica Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:53:27: warning: narrowing conversion of '(x + ((long long int)va[a]))' from 'long long int' to 'int' inside { } [-Wnarrowing] Q.push({x + va[a], a}); ~~^~~~~~~ main.cpp:57:27: warning: narrowing conversion of '(x + ((long long int)va[a]))' from 'long long int' to 'int' inside { } [-Wnarrowing] Q.push({x + va[a], a}); ~~^~~~~~~ main.cpp:65:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d", ansA); ^ main.cpp: In function 'void read()': main.cpp:26:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &N, &nra, &nrb); ^ main.cpp:28:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &va[i]); ^ main.cpp:30:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &vb[i]); ^ main.cpp: In function 'int main()': main.cpp:41:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("fabrica.in", "r", stdin); ^ main.cpp:42:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("fabrica.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbMediocru0
23ms131kbMediocru0
33ms131kbMediocru0
43ms262kbMediocru0
56ms524kbMediocru0
621ms1564kbKilled by Signal 110
729ms1826kbKilled by Signal 110
842ms2084kbKilled by Signal 110
947ms2347kbKilled by Signal 110
1047ms2215kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?