Pagini recente » Borderou de evaluare (job #1783006) | Borderou de evaluare (job #523412) | Borderou de evaluare (job #3256510) | Borderou de evaluare (job #1917705) | Borderou de evaluare (job #1411290)
Borderou de evaluare (job #1411290)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:31: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
for (i=0;i<26;++i) if (w[i])
^
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("joben.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("joben.out","w",stdout);
^
user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:19:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n=strlen(a+1);
^
user.cpp:20:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); ok=1;
^
/tmp/ccSbKZms.o: In function `main':
user.cpp:(.text.startup+0xa4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 4ms | 312kb | OK | 10 |
5 | 4ms | 316kb | OK | 10 |
6 | 60ms | 824kb | OK | 10 |
7 | 56ms | 824kb | OK | 10 |
8 | 68ms | 828kb | OK | 10 |
9 | 60ms | 824kb | OK | 10 |
10 | 64ms | 812kb | OK | 10 |
Punctaj total | 100 |