Borderou de evaluare (job #1479433)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 31 august 2015 13:25:45
Problema Time Travel Gossip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int search_(int)’: user.cpp:32:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i + step < aI.size() && aI[i+step].S < v) ^ user.cpp: In function ‘int main()’: user.cpp:77:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (STEP = 1; STEP < aI.size(); STEP <<= 1); ^ user.cpp:85:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (pos == aI.size() || aI[pos].F > x) ^ user.cpp:39:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ttg.in","r",stdin); ^ user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ttg.out","w",stdout); ^ user.cpp:42:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &q); ^ user.cpp:46:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int l; scanf("%d", &l); ^ user.cpp:50:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:81:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1180ms2016kbOK10
2168ms2008kbIncorect0
364ms1996kbOK10
464ms2000kbOK10
5152ms2012kbIncorect0
6124ms2016kbIncorect0
772ms2012kbIncorect0
8100ms2016kbOK10
9164ms2012kbIncorect0
10140ms2016kbIncorect0
Punctaj total40

Ceva nu functioneaza?