Pagini recente » Borderou de evaluare (job #2362018) | Borderou de evaluare (job #1569154) | Cod sursa (job #1882127) | Cod sursa (job #2365687) | Borderou de evaluare (job #1579880)
Borderou de evaluare (job #1579880)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:16:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp: In function ‘void solve()’:
user.cpp:70:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (p = 0; p < V[ts[i]].size(); ++ p)
^
user.cpp: In function ‘void readval()’:
user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘void readedge()’:
user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘void read()’:
user.cpp:44:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp: In function ‘void rsw()’:
user.cpp:91:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.in", "r", stdin);
^
user.cpp:92:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.out", "w", stdout);
^
user.cpp:93:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 300ms | 2108kb | Incorect | 0 |
Punctaj total | 0 |