Pagini recente » Borderou de evaluare (job #1252847) | Borderou de evaluare (job #68774) | Borderou de evaluare (job #2070103) | Borderou de evaluare (job #2675912) | Borderou de evaluare (job #1889313)
Borderou de evaluare (job #1889313)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:26:14: warning: statement has no effect [-Wunused-value]
for(i;nr[i]<c && i<l;i++)
^
user.cpp:28:14: warning: statement has no effect [-Wunused-value]
for(i;nr[i]==c && i<l;i++)
^
user.cpp: In function ‘int main()’:
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator3.in","r",stdin);
^
user.cpp:36:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("crescator3.out","w",stdout);
^
user.cpp:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d", &n, &m);
^
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %d", &m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 428kb | Incorect | 0 |
4 | 4ms | 560kb | OK | 10 |
5 | 32ms | 916kb | OK | 10 |
6 | 32ms | 920kb | OK | 10 |
7 | 36ms | 916kb | OK | 10 |
8 | 36ms | 916kb | OK | 10 |
9 | 36ms | 920kb | OK | 10 |
10 | 32ms | 920kb | OK | 10 |
Punctaj total | 90 |