Pagini recente » Cod sursa (job #2501113) | Borderou de evaluare (job #1692825) | Borderou de evaluare (job #1514139) | Borderou de evaluare (job #264829) | Borderou de evaluare (job #1963918)
Borderou de evaluare (job #1963918)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < r.size(); ++i) {
^
user.cpp:61:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); ++i) {
^
user.cpp:20:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pipe.in", "r", stdin);
^
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("pipe.out", "w", stdout);
^
user.cpp:25:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &N, &xi, &yi, &xf, &yf);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &length);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 284kb | OK | 10 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 292kb | OK | 10 |
9 | 0ms | 276kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |