Pagini recente » Borderou de evaluare (job #1180895) | Borderou de evaluare (job #1943418) | Borderou de evaluare (job #625911) | Borderou de evaluare (job #1270578) | Borderou de evaluare (job #1457821)
Borderou de evaluare (job #1457821)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.in","r",stdin);
^
user.cpp:10:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix.out","w",stdout);
^
user.cpp:11:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(s);
^
user.cpp:11:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(s);
^
user.cpp:13:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); k=0; urm[1]=0; m=strlen(s+1);
^
/tmp/ccLnebHW.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 |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 352kb | OK | 10 |
4 | 24ms | 2572kb | OK | 10 |
5 | 8ms | 756kb | OK | 10 |
6 | 16ms | 1492kb | OK | 10 |
7 | 48ms | 3528kb | OK | 10 |
8 | 76ms | 5092kb | OK | 10 |
9 | 4ms | 596kb | OK | 10 |
10 | 0ms | 276kb | OK | 10 |
Punctaj total | 100 |