Borderou de evaluare (job #1858511)

Utilizator Dragan_ValentinDragan Valentin Dragan_Valentin Data 27 ianuarie 2017 15:28:38
Problema Crescator1 Status done
Runda PreOJI 2017 Compilator cpp
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:54:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (v[j] + init == x) ^ user.cpp:61:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (poz == j) break; ^ user.cpp:63:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (v[j] + init > x) ^ user.cpp: In function ‘void read()’: user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms260kbOK10
30ms260kbOK10
44ms344kbOK10
536ms608kbOK10
636ms632kbOK10
740ms648kbOK10
840ms648kbOK10
936ms648kbOK10
1040ms648kbOK10
Punctaj total100

Ceva nu functioneaza?