Borderou de evaluare (job #2367351)

Utilizator JohnnyTTache Radu Ioan JohnnyT Data 5 martie 2019 10:19:36
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:19:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < n; i++){ ~~^~~ main.cpp:22:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = i + 1; j <= n; j += zeros(j)){ ~~^~~~ main.cpp:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int q = 0; q < m; q++){ ~~^~~ main.cpp:27:42: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=] fscanf(f, "%i %i %i", &op, &u, &v); ^ main.cpp:29:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int x = u; x <= n; x += zeros(x)){ ~~^~~~ main.cpp:17:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i %i", &n, &m); ^ main.cpp:21:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i ", &a); ^ main.cpp:27:43: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%i %i %i", &op, &u, &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1100ms786kbCorect!20
2104ms786kbCorect!20
394ms786kbCorect!20
4102ms786kbCorect!20
599ms786kbCorect!20
Punctaj total100

Ceva nu functioneaza?