Pagini recente » Borderou de evaluare (job #1138282) | Cod sursa (job #566423) | Borderou de evaluare (job #2034199) | Cod sursa (job #3235350) | Borderou de evaluare (job #2016527)
Borderou de evaluare (job #2016527)
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:106:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (sta[i] == mov[i].size() or !oki[i])
^
user.cpp:89: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:90: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:93:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:97: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 | 464kb | corect | 5 | 100 |
2 | 0ms | 464kb | corect | 5 |
3 | 0ms | 488kb | corect | 5 |
4 | 4ms | 488kb | corect | 5 |
5 | 0ms | 476kb | corect | 5 |
6 | 0ms | 496kb | corect | 5 |
7 | 0ms | 464kb | corect | 5 |
8 | 0ms | 476kb | corect | 5 |
9 | 0ms | 472kb | corect | 5 |
10 | 0ms | 488kb | corect | 5 |
11 | 0ms | 488kb | corect | 5 |
12 | 0ms | 480kb | corect | 5 |
13 | 0ms | 484kb | corect | 5 |
14 | 0ms | 480kb | corect | 5 |
15 | 0ms | 480kb | corect | 5 |
16 | 0ms | 484kb | corect | 5 |
17 | 0ms | 488kb | corect | 5 |
18 | 0ms | 480kb | corect | 5 |
19 | 0ms | 544kb | corect | 5 |
20 | 0ms | 492kb | corect | 5 |
Punctaj total | 100 |