Pagini recente » Cod sursa (job #400748) | Cod sursa (job #1254905) | Borderou de evaluare (job #1510209) | Borderou de evaluare (job #478085) | Borderou de evaluare (job #1579881)
Borderou de evaluare (job #1579881)
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:71: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:45: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:92: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:93: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:94: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 | 344ms | 3080kb | Incorect | 0 |
Punctaj total | 0 |