Pagini recente » Borderou de evaluare (job #2003506) | Clasamentul arhivei educationale | Borderou de evaluare (job #778863) | Borderou de evaluare (job #2149275) | Borderou de evaluare (job #1856552)
Borderou de evaluare (job #1856552)
Raport evaluator
Compilare:
user.cpp: In function ‘void buildPairs()’:
user.cpp:56:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[i].size(); j++)
^
user.cpp:58:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[i].size(); j++)
^
user.cpp:60:17: warning: unused variable ‘neighb’ [-Wunused-variable]
int neighb = G[i][j].first, c = G[i][j].second;
^
user.cpp:63:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[i].size(); j++)
^
user.cpp: In function ‘void Solve()’:
user.cpp:164: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:31: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:35: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:193: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:194: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:196: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 | 4ms | 2424kb | Ok! | 10 |
2 | 12ms | 2588kb | Raspuns Gresit! | 0 |
3 | 36ms | 2920kb | Raspuns Gresit! | 0 |
4 | 728ms | 13784kb | Raspuns Gresit! | 0 |
5 | 596ms | 10728kb | Raspuns Gresit! | 0 |
6 | 624ms | 10156kb | Raspuns Gresit! | 0 |
7 | 704ms | 12280kb | Raspuns Gresit! | 0 |
8 | 680ms | 11780kb | Raspuns Gresit! | 0 |
9 | 684ms | 12152kb | Ok! | 10 |
10 | 756ms | 13908kb | Ok! | 10 |
Punctaj total | 30 |