Borderou de evaluare (job #679543)

Utilizator avatar DobraVictor Dobra Victor DobraVictor IP ascuns
Problemă Increment & Max Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 4 dec. 2022 13:17:07 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'uint32_t Mod1(uint32_t, uint32_t)': main.cpp:18:23: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 18 | if(pos + step < vf && v[pos + step].x < x) | ~~~~~~~~~~~^~~~ main.cpp:24:12: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 24 | if(pos == vf) { | ~~~~^~~~~ main.cpp:35:28: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 35 | for(uint32_t i = vf; i != pos; --i) | ~~^~~~~~ main.cpp: In function 'int main()': main.cpp:46:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 46 | fscanf(fin, "%u%u", &n, &q); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:51:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | fscanf(fin, "%u", &c); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:55:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | fscanf(fin, "%u%u", &x, &y); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 10
2 158 ms 233 kb Time limit exceeded 0
3 154 ms 200 kb Time limit exceeded 0
4 154 ms 225 kb Time limit exceeded 0
5 150 ms 176 kb Time limit exceeded 0
6 151 ms 188 kb Time limit exceeded 0
7 153 ms 118 kb Time limit exceeded 0
8 156 ms 176 kb Time limit exceeded 0
9 153 ms 163 kb Time limit exceeded 0
10 153 ms 176 kb Time limit exceeded 0
Punctaj total 10