Pagini recente » Borderou de evaluare (job #75834) | Borderou de evaluare (job #571725) | Borderou de evaluare (job #2489599) | Borderou de evaluare (job #2174877) | Borderou de evaluare (job #2175316)
Borderou de evaluare (job #2175316)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("monezi2.in", "r", stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("monezi2.out", "w", stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &tmp);
^
user.cpp:24:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &q);
^
user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &tmp);
^
user.cpp:20:15: warning: iteration 100005u invokes undefined behavior [-Waggressive-loop-optimizations]
if (dp[j] && j + s[i] <= 100005)
^
user.cpp:19:23: note: containing loop
for (int j = 0; j <= 100005; j++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1632kb | OK | 10 |
2 | 0ms | 1736kb | OK | 10 |
3 | 4ms | 1696kb | OK | 10 |
4 | 8ms | 1716kb | OK | 10 |
5 | 8ms | 1704kb | OK | 10 |
6 | 8ms | 1656kb | OK | 10 |
7 | 12ms | 1632kb | OK | 10 |
8 | 16ms | 1560kb | OK | 10 |
9 | 20ms | 1560kb | OK | 10 |
10 | 20ms | 1660kb | OK | 10 |
Punctaj total | 100 |