Pagini recente » Borderou de evaluare (job #2889908) | Borderou de evaluare (job #26817) | Borderou de evaluare (job #1065620) | Borderou de evaluare (job #1722580) | Borderou de evaluare (job #2060613)
Borderou de evaluare (job #2060613)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41: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:42: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:45:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ", &n, &p);
^
user.cpp:47:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccxDePr8.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 | 52ms | 1568kb | OK | 10 |
2 | 52ms | 1568kb | OK | 10 |
3 | 52ms | 1568kb | OK | 10 |
4 | 8ms | 616kb | OK | 10 |
5 | 52ms | 1496kb | OK | 10 |
6 | 52ms | 1496kb | OK | 10 |
7 | 0ms | 388kb | Incorect | 0 |
8 | 0ms | 396kb | OK | 10 |
9 | 0ms | 400kb | OK | 10 |
10 | 40ms | 1272kb | OK | 10 |
Punctaj total | 90 |