Pagini recente » Borderou de evaluare (job #1906937) | Borderou de evaluare (job #1142158) | Borderou de evaluare (job #1090656) | Borderou de evaluare (job #1720062) | Borderou de evaluare (job #1990006)
Borderou de evaluare (job #1990006)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:36: 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:48:38: 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:51:27: 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:53:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cc3fU1hT.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 | 36ms | 1696kb | OK | 10 |
2 | 36ms | 1692kb | OK | 10 |
3 | 36ms | 1696kb | OK | 10 |
4 | 8ms | 968kb | OK | 10 |
5 | 36ms | 1636kb | OK | 10 |
6 | 36ms | 1632kb | OK | 10 |
7 | 0ms | 780kb | Incorect | 0 |
8 | 0ms | 784kb | OK | 10 |
9 | 0ms | 788kb | OK | 10 |
10 | 32ms | 1456kb | OK | 10 |
Punctaj total | 90 |