Pagini recente » Borderou de evaluare (job #2458206) | Borderou de evaluare (job #1324234) | Borderou de evaluare (job #1744637) | Borderou de evaluare (job #939924) | Borderou de evaluare (job #1689321)
Borderou de evaluare (job #1689321)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61: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:62: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:64:29: 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:65:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc1T7d3F.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 1608kb | OK | 10 |
2 | 40ms | 1608kb | OK | 10 |
3 | 40ms | 1604kb | OK | 10 |
4 | 8ms | 892kb | OK | 10 |
5 | 36ms | 1532kb | OK | 10 |
6 | 36ms | 1528kb | OK | 10 |
7 | 0ms | 712kb | OK | 10 |
8 | 0ms | 712kb | OK | 10 |
9 | 0ms | 716kb | OK | 10 |
10 | 32ms | 1384kb | OK | 10 |
Punctaj total | 100 |