Pagini recente » Borderou de evaluare (job #3164965) | Borderou de evaluare (job #1074834) | Borderou de evaluare (job #2439875) | Borderou de evaluare (job #1788591) | Borderou de evaluare (job #1463361)
Borderou de evaluare (job #1463361)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve()’:
user.cpp:46:54: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
dp[i].first + 1 == dp[i+d].first && dp[i].second < dp[i+d].second)
^
user.cpp:51:54: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
dp[i].first + 1 == dp[i+d].first && dp[i].second + (d+1)/2 < dp[i+d].second)
^
user.cpp:55:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void citire()’:
user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ka);
^
user.cpp:29:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &ts, &td), trepte[ts].a = td;
^
user.cpp:30:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ke);
^
user.cpp:32:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &ts, &td), trepte[ts].e = td;
^
user.cpp: In function ‘int main()’:
user.cpp:59:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scara3.in", "r", stdin);
^
user.cpp:60:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scara3.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 5 |
| 2 | 0ms | 436kb | OK | 5 |
| 3 | 0ms | 444kb | OK | 5 |
| 4 | 0ms | 444kb | OK | 5 |
| 5 | 0ms | 444kb | OK | 5 |
| 6 | 0ms | 436kb | OK | 5 |
| 7 | 0ms | 440kb | OK | 5 |
| 8 | 0ms | 444kb | OK | 5 |
| 9 | 0ms | 440kb | OK | 5 |
| 10 | 0ms | 440kb | OK | 5 |
| 11 | Depăşit | 400kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 408kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 404kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 408kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |