Pagini recente » Borderou de evaluare (job #367891) | Borderou de evaluare (job #349064) | Borderou de evaluare (job #280027) | Borderou de evaluare (job #2869130) | Borderou de evaluare (job #1507117)
Borderou de evaluare (job #1507117)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0 ; i<strlen(s) ; ++i)
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.out","w",stdout);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd\n",&n,&k);
^
user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccYMXgZq.o: In function `main':
user.cpp:(.text.startup+0x74): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 0ms | 492kb | OK | 10 |
4 | 0ms | 484kb | OK | 10 |
5 | 8ms | 512kb | OK | 10 |
6 | 12ms | 516kb | OK | 10 |
7 | 16ms | 524kb | Incorect | 0 |
8 | 16ms | 524kb | OK | 10 |
9 | 24ms | 520kb | OK | 10 |
10 | 28ms | 524kb | Incorect | 0 |
Punctaj total | 80 |