Pagini recente » Borderou de evaluare (job #1502264) | Borderou de evaluare (job #732939) | Borderou de evaluare (job #2923155) | Borderou de evaluare (job #658791) | Borderou de evaluare (job #2060617)
Borderou de evaluare (job #2060617)
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:52:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cc5Knrwy.o: In function `main':
user.cpp:(.text.startup+0x7d): 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 | 620kb | OK | 10 |
5 | 52ms | 1500kb | OK | 10 |
6 | 52ms | 1496kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 0ms | 396kb | OK | 10 |
9 | 0ms | 392kb | OK | 10 |
10 | 40ms | 1276kb | OK | 10 |
Punctaj total | 100 |