Pagini recente » Borderou de evaluare (job #2100789) | Borderou de evaluare (job #1702853) | Borderou de evaluare (job #2397322) | Borderou de evaluare (job #652077) | Borderou de evaluare (job #2171483)
Borderou de evaluare (job #2171483)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:30:38: 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:31:40: 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:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &s);
^
user.cpp: In function ‘void parcurg()’:
user.cpp:24:19: warning: iteration 100005u invokes undefined behavior [-Waggressive-loop-optimizations]
if(d[j] && j+a[i]<=N)
^
user.cpp:23:22: note: containing loop
for(int j=0;j<=N;j++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3184kb | OK | 10 |
2 | 4ms | 2984kb | OK | 10 |
3 | 4ms | 2984kb | OK | 10 |
4 | 8ms | 3056kb | OK | 10 |
5 | 8ms | 3328kb | OK | 10 |
6 | 12ms | 2996kb | OK | 10 |
7 | 16ms | 2996kb | OK | 10 |
8 | 20ms | 3164kb | OK | 10 |
9 | 20ms | 3188kb | OK | 10 |
10 | 20ms | 3156kb | OK | 10 |
Punctaj total | 100 |