Pagini recente » Borderou de evaluare (job #1345313) | Borderou de evaluare (job #790942) | Borderou de evaluare (job #987604) | Borderou de evaluare (job #89597) | Borderou de evaluare (job #1664484)
Borderou de evaluare (job #1664484)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[i]=='W') S1[nr+1]=S1[nr]+i, ++nr;
^
user.cpp:25:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(a[i]=='W') S2[nr+1]=S2[nr]+i, ++nr;
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("weeee.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("weeee.out","w",stdout);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:16:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
/tmp/ccCKwP84.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 |
Punctaj/grupa |
| 1 | 4ms | 656kb | Incorect | 0 | 0 |
| 2 | 4ms | 656kb | Incorect | 0 |
| 3 | 0ms | 568kb | Incorect | 0 |
| 4 | 0ms | 480kb | Incorect | 0 |
| 5 | 0ms | 492kb | Incorect | 0 |
| 6 | 0ms | 460kb | OK | 8 |
| 7 | 0ms | 464kb | OK | 8 |
| 8 | 0ms | 464kb | Incorect | 0 |
| 9 | 0ms | 504kb | Incorect | 0 |
| 10 | 0ms | 480kb | OK | 8 |
| 11 | 0ms | 460kb | OK | 8 |
| 12 | 0ms | 452kb | OK | 8 |
| Punctaj total | 0 |