Pagini recente » Borderou de evaluare (job #2029239) | Borderou de evaluare (job #817016) | Borderou de evaluare (job #73998) | Borderou de evaluare (job #2739479) | Borderou de evaluare (job #1504243)
Borderou de evaluare (job #1504243)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i < strlen(s) ; ++i)
^
user.cpp:20: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:21: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:22: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:23:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccHtJA1g.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 | 476kb | OK | 10 |
2 | 0ms | 476kb | OK | 10 |
3 | 0ms | 480kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 12ms | 492kb | OK | 10 |
6 | 16ms | 504kb | OK | 10 |
7 | 20ms | 500kb | Incorect | 0 |
8 | 24ms | 504kb | OK | 10 |
9 | 32ms | 508kb | OK | 10 |
10 | 36ms | 508kb | Incorect | 0 |
Punctaj total | 80 |