Pagini recente » Borderou de evaluare (job #2700582) | Borderou de evaluare (job #658591) | Borderou de evaluare (job #1782048) | Borderou de evaluare (job #637522) | Borderou de evaluare (job #1594645)
Borderou de evaluare (job #1594645)
Raport evaluator
Compilare:
user.cpp: In function ‘int getFather(int)’:
user.cpp:55:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void solve()’:
user.cpp:64:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < graph [i].size (); ++ j) {
^
user.cpp:70:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < graph [i].size (); ++ j)
^
user.cpp:85:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < graph [i].size (); ++ j) {
^
user.cpp:102:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < graph [i].size () - 1; j ++) {
^
user.cpp:58:18: warning: unused variable ‘ok’ [-Wunused-variable]
int i, a, b, ok, edge, flag =0, aux, fx, fy, j, med, aa, bb;
^
user.cpp:58:22: warning: unused variable ‘edge’ [-Wunused-variable]
int i, a, b, ok, edge, flag =0, aux, fx, fy, j, med, aa, bb;
^
user.cpp: In function ‘void read()’:
user.cpp:30: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:32:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &a, &b, &c);
^
user.cpp: In function ‘int main()’:
user.cpp:148:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ulei.in", "r", stdin);
^
user.cpp:149:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ulei.out", "w", stdout);
^
user.cpp:151:21: 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 | 12ms | 3708kb | Raspuns Gresit! | 0 |
2 | 36ms | 4184kb | Raspuns Gresit! | 0 |
3 | 108ms | 6092kb | Raspuns Gresit! | 0 |
4 | Depăşit | 34436kb | Time limit exceeded. | 0 |
5 | 1440ms | 22604kb | Raspuns Gresit! | 0 |
6 | Depăşit | 35048kb | Time limit exceeded. | 0 |
7 | Depăşit | 35852kb | Time limit exceeded. | 0 |
8 | Depăşit | 36232kb | Time limit exceeded. | 0 |
9 | Depăşit | 34240kb | Time limit exceeded. | 0 |
10 | Depăşit | 34228kb | Time limit exceeded. | 0 |
Punctaj total | 0 |