Pagini recente » Borderou de evaluare (job #2267991) | Borderou de evaluare (job #2286316) | Borderou de evaluare (job #2902380) | Borderou de evaluare (job #269912) | Borderou de evaluare (job #1734493)
Borderou de evaluare (job #1734493)
Raport evaluator
Compilare:
user.cpp: In function ‘void FirstDFS(int, int)’:
user.cpp:34:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp:60:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp: In function ‘void SecondDFS(int, int, int)’:
user.cpp:68:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp:70:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(son!=father)
^
user.cpp:79:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++){
^
user.cpp: In function ‘void read(int&)’:
user.cpp:17:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer,1,DIM,stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer,1,DIM,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:105:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("turism2.in","r",stdin);
^
user.cpp:106:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("turism2.out","w",stdout);
^
user.cpp:108:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer,1,DIM,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1448kb | Incorect | 0 |
2 | 0ms | 1456kb | Incorect | 0 |
3 | 4ms | 1496kb | Incorect | 0 |
4 | 4ms | 1528kb | Incorect | 0 |
5 | 120ms | 3408kb | Incorect | 0 |
6 | 208ms | 4156kb | Incorect | 0 |
7 | 784ms | 8476kb | Incorect | 0 |
8 | 944ms | 9536kb | Incorect | 0 |
9 | 1112ms | 10592kb | Incorect | 0 |
10 | 1280ms | 10856kb | Incorect | 0 |
Punctaj total | 0 |