Pagini recente » Borderou de evaluare (job #860960) | Borderou de evaluare (job #2592636) | Borderou de evaluare (job #253689) | Borderou de evaluare (job #2075486) | Borderou de evaluare (job #1748788)
Borderou de evaluare (job #1748788)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:67:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp:85:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp:65:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, nod, p = -1;
^
user.cpp: In function ‘void write()’:
user.cpp:109:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ans);
^
user.cpp: In function ‘void read()’:
user.cpp:40: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:42:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &v[i].x, &v[i].y, &v[i].c);
^
user.cpp: In function ‘int main()’:
user.cpp:118:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze3.in", "r", stdin);
^
user.cpp:119:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze3.out", "w", stdout);
^
user.cpp:120: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 | 840ms | 12912kb | Dar stai domne ca nu ai adus toti soferii in acelasi autobuz! | 0 |
Punctaj total | 0 |