Pagini recente » Borderou de evaluare (job #1505948) | Borderou de evaluare (job #2266425) | Borderou de evaluare (job #1434003) | Borderou de evaluare (job #1259119) | Borderou de evaluare (job #1889333)
Borderou de evaluare (job #1889333)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:23:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<l;i++)
^
user.cpp:26:14: warning: statement has no effect [-Wunused-value]
for(i;nr[i]<c && i<l;i++)
^
user.cpp:26:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
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:28:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
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 | 436kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 436kb | Incorect | 0 |
4 | 4ms | 564kb | OK | 10 |
5 | 32ms | 920kb | OK | 10 |
6 | 32ms | 920kb | OK | 10 |
7 | 36ms | 916kb | OK | 10 |
8 | 36ms | 916kb | OK | 10 |
9 | 36ms | 920kb | OK | 10 |
10 | 32ms | 924kb | OK | 10 |
Punctaj total | 90 |