Pagini recente » Borderou de evaluare (job #2644957) | Borderou de evaluare (job #2273292) | Borderou de evaluare (job #1793754) | Borderou de evaluare (job #2949499) | Borderou de evaluare (job #1504253)
Borderou de evaluare (job #1504253)
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/ccdnmbKm.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 | 464kb | OK | 10 |
2 | 0ms | 480kb | OK | 10 |
3 | 0ms | 488kb | OK | 10 |
4 | 0ms | 488kb | OK | 10 |
5 | 8ms | 512kb | OK | 10 |
6 | 16ms | 516kb | OK | 10 |
7 | 20ms | 520kb | Incorect | 0 |
8 | 24ms | 516kb | OK | 10 |
9 | 28ms | 524kb | OK | 10 |
10 | 36ms | 524kb | Incorect | 0 |
Punctaj total | 80 |