Pagini recente » Cod sursa (job #300505) | Cod sursa (job #506373) | Borderou de evaluare (job #207913) | Cod sursa (job #2662704) | Borderou de evaluare (job #2016529)
Borderou de evaluare (job #2016529)
Raport evaluator
Compilare:
user.cpp: In function ‘bool cmp(const std::pair<int, int>&, const std::pair<int, int>&)’:
user.cpp:12:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = x.second, j = y.second; i < dp[x.first].size() and j < dp[y.first].size(); ++i, ++j)
^
user.cpp:12:90: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = x.second, j = y.second; i < dp[x.first].size() and j < dp[y.first].size(); ++i, ++j)
^
user.cpp: In function ‘int main()’:
user.cpp:100:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (sta[i] == mov[i].size() or !oki[i])
^
user.cpp:83:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("optic.in", "r", stdin);
^
user.cpp:84:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("optic.out", "w", stdout);
^
user.cpp:87:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:91:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y); --x; --y;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 460kb | corect | 5 | 100 |
2 | 0ms | 464kb | corect | 5 |
3 | 0ms | 488kb | corect | 5 |
4 | 56ms | 488kb | corect | 5 |
5 | 0ms | 480kb | corect | 5 |
6 | 0ms | 500kb | corect | 5 |
7 | 0ms | 468kb | corect | 5 |
8 | 0ms | 472kb | corect | 5 |
9 | 0ms | 468kb | corect | 5 |
10 | 0ms | 488kb | corect | 5 |
11 | 0ms | 488kb | corect | 5 |
12 | 0ms | 484kb | corect | 5 |
13 | 0ms | 480kb | corect | 5 |
14 | 0ms | 480kb | corect | 5 |
15 | 0ms | 488kb | corect | 5 |
16 | 0ms | 484kb | corect | 5 |
17 | 0ms | 480kb | corect | 5 |
18 | 0ms | 480kb | corect | 5 |
19 | 0ms | 536kb | corect | 5 |
20 | 0ms | 492kb | corect | 5 |
Punctaj total | 100 |