Pagini recente » Borderou de evaluare (job #534647) | Borderou de evaluare (job #533428) | Borderou de evaluare (job #1146575) | Borderou de evaluare (job #2719301) | Borderou de evaluare (job #1879556)
Borderou de evaluare (job #1879556)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:35: 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:41:37: 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:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&k);
^
user.cpp:44:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/ccsLlVra.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 1556kb | OK | 10 |
2 | 24ms | 1552kb | OK | 10 |
3 | 24ms | 1544kb | OK | 10 |
4 | 4ms | 612kb | OK | 10 |
5 | 24ms | 1420kb | OK | 10 |
6 | 24ms | 1416kb | OK | 10 |
7 | 0ms | 368kb | OK | 10 |
8 | 0ms | 380kb | OK | 10 |
9 | 0ms | 384kb | OK | 10 |
10 | 16ms | 1232kb | OK | 10 |
Punctaj total | 100 |