Pagini recente » Borderou de evaluare (job #491392) | Borderou de evaluare (job #442259) | Borderou de evaluare (job #108321) | Borderou de evaluare (job #415634) | Borderou de evaluare (job #1788248)
Borderou de evaluare (job #1788248)
Raport evaluator
Compilare:
user.cpp: In function ‘void c1()’:
user.cpp:26:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(s[i]<s[i-1])
^
user.cpp:11:9: warning: unused variable ‘cc’ [-Wunused-variable]
int cc=1;
^
user.cpp: In function ‘int main()’:
user.cpp:39:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.in","r",stdin);
^
user.cpp:40:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("charlie.out","w",stdout);
^
user.cpp:42:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&caz);
^
user.cpp:43:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccoogt6R.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 5 |
2 | 0ms | 448kb | OK | 5 |
3 | 0ms | 452kb | OK | 5 |
4 | 0ms | 508kb | OK | 5 |
5 | 0ms | 540kb | OK | 5 |
6 | 0ms | 444kb | Incorect | 0 |
7 | 0ms | 448kb | Incorect | 0 |
8 | 0ms | 448kb | OK | 5 |
9 | 0ms | 468kb | Incorect | 0 |
10 | 0ms | 484kb | Incorect | 0 |
11 | 0ms | 588kb | OK | 5 |
12 | 0ms | 536kb | OK | 5 |
13 | 0ms | 580kb | Incorect | 0 |
14 | 0ms | 580kb | Incorect | 0 |
15 | 0ms | 524kb | Incorect | 0 |
16 | 0ms | 564kb | Incorect | 0 |
17 | 0ms | 564kb | Incorect | 0 |
18 | 0ms | 576kb | Incorect | 0 |
19 | 0ms | 576kb | OK | 5 |
20 | 0ms | 448kb | OK | 5 |
Punctaj total | 50 |