Pagini recente » Borderou de evaluare (job #3045343) | Borderou de evaluare (job #1509728) | Borderou de evaluare (job #2168725) | Borderou de evaluare (job #2471046) | Borderou de evaluare (job #1857121)
Borderou de evaluare (job #1857121)
Raport evaluator
Compilare:
user.cpp: In function ‘void buildPairs()’:
user.cpp:61:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
int a;
^
user.cpp:64:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[i].size(); j++)
^
user.cpp:66:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[i].size(); j++)
^
user.cpp:68:17: warning: unused variable ‘neighb’ [-Wunused-variable]
int neighb = G[i][j].first, c = G[i][j].second;
^
user.cpp:71:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[i].size(); j++)
^
user.cpp: In function ‘int Cycle(int, int, int)’:
user.cpp:115:13: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
int a;
^
user.cpp: In function ‘void Solve()’:
user.cpp:197:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
int a;
^
user.cpp:182:29: warning: variable ‘second’ set but not used [-Wunused-but-set-variable]
int last = 1,last2 = 0, second;
^
user.cpp: In function ‘void Read()’:
user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:36:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &c);
^
user.cpp: In function ‘int main()’:
user.cpp:211:35: 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:212:37: 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:213: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 | 0ms | 2416kb | Ok! | 10 |
2 | 12ms | 2588kb | Ok! | 10 |
3 | 36ms | 2940kb | Ok! | 10 |
4 | 832ms | 14168kb | Ok! | 10 |
5 | 692ms | 11116kb | Ok! | 10 |
6 | 720ms | 10536kb | Ok! | 10 |
7 | 812ms | 12664kb | Ok! | 10 |
8 | 772ms | 12312kb | Ok! | 10 |
9 | 804ms | 12536kb | Ok! | 10 |
10 | 864ms | 14288kb | Ok! | 10 |
Punctaj total | 100 |