Pagini recente » Borderou de evaluare (job #1546689) | Borderou de evaluare (job #1522245) | Borderou de evaluare (job #2421179) | Borderou de evaluare (job #1489580) | Borderou de evaluare (job #1746145)
Borderou de evaluare (job #1746145)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:37: 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:44:39: 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:48:28: 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:49:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccxLOo5f.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 | 64ms | 1516kb | OK | 10 |
2 | 64ms | 1512kb | OK | 10 |
3 | 64ms | 1512kb | OK | 10 |
4 | 12ms | 592kb | OK | 10 |
5 | 64ms | 1436kb | OK | 10 |
6 | 64ms | 1428kb | OK | 10 |
7 | 0ms | 380kb | Incorect | 0 |
8 | 0ms | 380kb | OK | 10 |
9 | 0ms | 388kb | OK | 10 |
10 | 56ms | 1216kb | OK | 10 |
Punctaj total | 90 |