Pagini recente » Borderou de evaluare (job #118108) | Borderou de evaluare (job #508317) | Borderou de evaluare (job #1081448) | Borderou de evaluare (job #3153370) | Borderou de evaluare (job #1758008)
Borderou de evaluare (job #1758008)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:106:12: warning: statement has no effect [-Wunused-value]
for(pas; pas>=1; pas>>=1)
^
user.cpp:85:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.in", "r", stdin);
^
user.cpp:86:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lanterna.out", "w", stdout);
^
user.cpp:90:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:92:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i) scanf("%d", &fr[i]);
^
user.cpp:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:97:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &x, &y, &tm, &wt);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 556kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 12ms | 668kb | OK | 10 |
3 | 0ms | 560kb | OK | 10 |
4 | 32ms | 608kb | OK | 10 |
5 | 36ms | 644kb | OK | 10 |
6 | 36ms | 628kb | OK | 10 |
7 | 32ms | 596kb | OK | 10 |
8 | 0ms | 568kb | OK | 10 |
9 | 0ms | 348kb | OK | 10 |
10 | 4ms | 580kb | OK | 10 |
Punctaj total | 90 |