Borderou de evaluare (job #2525333)

Utilizator theo2003Theodor Negrescu theo2003 Data 17 ianuarie 2020 09:20:26
Problema Divk Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In member function 'void distances::process()': main.cpp:14:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while((behind != v.size()) && ((i - v[behind] + 1) > b)){ ~~~~~~~^~~~~~~~~~~ main.cpp:17:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while((after != v.size()) && ((i - v[after] + 1) >= a)){ ~~~~~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:26:42: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(F, "%d%d%d%d", &n, &k, &a, &b); ^ main.cpp:30:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(F, "%d", &l[x]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
19ms3276kbOK10
210ms3407kbOK10
318ms3538kbOK10
436ms4063kbOK10
564ms4849kbOK10
6124ms7733kbOK10
7111ms6291kbOK10
8141ms7208kbOK10
9202ms7340kbTime limit exceeded0
10200ms5242kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?