Pagini recente » Borderou de evaluare (job #1749843) | Cod sursa (job #532011) | Borderou de evaluare (job #2640240) | Borderou de evaluare (job #661293) | Borderou de evaluare (job #1479434)
Borderou de evaluare (job #1479434)
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 |
| 1 | 176ms | 2008kb | OK | 10 |
| 2 | 172ms | 2016kb | Incorect | 0 |
| 3 | 68ms | 1996kb | OK | 10 |
| 4 | 68ms | 1992kb | OK | 10 |
| 5 | 152ms | 2012kb | Incorect | 0 |
| 6 | 144ms | 2012kb | Incorect | 0 |
| 7 | 96ms | 2012kb | Incorect | 0 |
| 8 | 104ms | 2012kb | OK | 10 |
| 9 | 164ms | 2012kb | Incorect | 0 |
| 10 | 164ms | 2012kb | Incorect | 0 |
| Punctaj total | 40 |