Pagini recente » Cod sursa (job #2871604) | Borderou de evaluare (job #1666672) | Borderou de evaluare (job #232246) | Cod sursa (job #2510501) | Borderou de evaluare (job #1579863)
Borderou de evaluare (job #1579863)
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:67:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (p >= 1 + i - W[ts[i]].size() && p > 0)
^
user.cpp: In function ‘void readval()’:
user.cpp:31: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:41: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:47: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:85: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:86: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:87: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 | 316ms | 3824kb | Incorect | 0 |
Punctaj total | 0 |