Pagini recente » Borderou de evaluare (job #2503914) | Borderou de evaluare (job #1108453) | Borderou de evaluare (job #1332454) | Borderou de evaluare (job #2482005) | Borderou de evaluare (job #1675786)
Borderou de evaluare (job #1675786)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v1[c].size(); i++)
^
user.cpp:52:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j < v2[c].size())
^
user.cpp:54:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j + 1 < v2[c].size() && v2[c][j + 1].first <= v1[c][i].first) j++;
^
user.cpp:65:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j + 1 < v2[c].size() && ans[c].d > abs(v1[c][i].first - v2[c][j + 1].first))
^
user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stalpi3.in", "r", stdin);
^
user.cpp:21:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stalpi3.out", "w", stdout);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &d);
^
user.cpp:30:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &pos, &col);
^
user.cpp:37:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &pos, &col);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Corect! | 5 |
2 | 0ms | 440kb | Corect! | 5 |
3 | 0ms | 452kb | Corect! | 5 |
4 | 0ms | 448kb | Corect! | 5 |
5 | 0ms | 452kb | Corect! | 5 |
6 | 0ms | 456kb | Corect! | 5 |
7 | 0ms | 460kb | Corect! | 5 |
8 | 0ms | 496kb | Corect! | 5 |
9 | 0ms | 480kb | Corect! | 5 |
10 | 0ms | 468kb | Corect! | 5 |
11 | 0ms | 448kb | Corect! | 5 |
12 | 4ms | 564kb | Corect! | 5 |
13 | 8ms | 612kb | Corect! | 5 |
14 | 8ms | 600kb | Corect! | 5 |
15 | 8ms | 640kb | Corect! | 5 |
16 | 8ms | 648kb | Corect! | 5 |
17 | 8ms | 644kb | Corect! | 5 |
18 | 12ms | 652kb | Corect! | 5 |
19 | 12ms | 652kb | Corect! | 5 |
20 | 12ms | 648kb | Corect! | 5 |
Punctaj total | 100 |