Pagini recente » Borderou de evaluare (job #3281900) | Borderou de evaluare (job #3159120) | Borderou de evaluare (job #203272) | Borderou de evaluare (job #2624991) | Borderou de evaluare (job #1865210)
Borderou de evaluare (job #1865210)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.in", "r", stdin);
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teatru.out", "w", stdout);
^
user.cpp:9:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ", &n, &k);
^
user.cpp:10:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S + 1);
^
user.cpp:30:3: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (int i = s; i <= d; ++i)
^
/tmp/ccCPEl8i.o: In function `main':
user.cpp:(.text.startup+0x76): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 316kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 316kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 4ms | 296kb | OK | 10 |
8 | 0ms | 292kb | OK | 10 |
9 | 4ms | 312kb | OK | 10 |
10 | 4ms | 316kb | OK | 10 |
Punctaj total | 100 |