Pagini recente » Borderou de evaluare (job #2648596) | Borderou de evaluare (job #1132011) | Borderou de evaluare (job #2742277) | Borderou de evaluare (job #2769863) | Borderou de evaluare (job #1477908)
Borderou de evaluare (job #1477908)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in","r",stdin);
^
user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out","w",stdout);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k); gets(s); gets(s+1);
^
user.cpp:24:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k); gets(s); gets(s+1);
^
user.cpp:24:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k); gets(s); gets(s+1);
^
/tmp/ccs0JdG6.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 1600kb | OK | 10 |
2 | 68ms | 1596kb | OK | 10 |
3 | 68ms | 1596kb | OK | 10 |
4 | 12ms | 616kb | OK | 10 |
5 | 52ms | 1464kb | OK | 10 |
6 | 56ms | 1472kb | OK | 10 |
7 | 0ms | 368kb | Incorect | 0 |
8 | 0ms | 380kb | OK | 10 |
9 | 0ms | 384kb | OK | 10 |
10 | 40ms | 1268kb | OK | 10 |
Punctaj total | 90 |