Pagini recente » Borderou de evaluare (job #388259) | Borderou de evaluare (job #2355855) | Borderou de evaluare (job #1829106) | Borderou de evaluare (job #420719) | Borderou de evaluare (job #1790078)
Borderou de evaluare (job #1790078)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in", "r", stdin);
^
user.cpp:22:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out", "w", stdout);
^
user.cpp:24:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &type, &n);
^
user.cpp:31:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
user.cpp:65:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:31:27:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:65:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccSmMy9U.o: In function `main':
user.cpp:(.text.startup+0x9f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 1252kb | OK. | 5 | 20 |
2 | 4ms | 1424kb | OK. | 5 |
3 | 0ms | 588kb | OK. | 5 |
4 | 0ms | 1096kb | OK. | 5 |
5 | 0ms | 536kb | OK. | 3 | 3 |
6 | 176ms | 1264kb | OK. | 3 | 3 |
7 | 0ms | 492kb | OK. | 3 | 3 |
8 | 100ms | 956kb | OK. | 3 | 3 |
9 | 604ms | 1424kb | OK. | 4 | 4 |
10 | 284ms | 1412kb | OK. | 4 | 4 |
11 | 504ms | 1304kb | OK. | 4 | 4 |
12 | 348ms | 1364kb | Numar de siruri incorect. | 0 | 0 |
13 | 380ms | 1392kb | Numar de siruri incorect. | 0 | 0 |
14 | 360ms | 1428kb | OK. | 5 | 5 |
15 | 428ms | 1428kb | Numar de siruri incorect. | 0 | 0 |
16 | 684ms | 1424kb | Numar de siruri incorect. | 0 | 0 |
17 | 576ms | 1416kb | OK. | 5 | 5 |
18 | 584ms | 1424kb | Numar de siruri incorect. | 0 | 0 |
19 | 568ms | 1424kb | Numar de siruri incorect. | 0 | 0 |
20 | Depăşit | 1384kb | Time limit exceeded. | 0 | 0 |
21 | Depăşit | 1392kb | Time limit exceeded. | 0 | 0 |
22 | 568ms | 1428kb | OK. | 6 | 6 |
Punctaj total | 60 |