Pagini recente » Borderou de evaluare (job #2668524) | Borderou de evaluare (job #2680871) | Borderou de evaluare (job #1250032) | Borderou de evaluare (job #1054004) | Borderou de evaluare (job #1856544)
Borderou de evaluare (job #1856544)
Raport evaluator
Compilare:
user.cpp: In function ‘void buildPairs()’:
user.cpp:53:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[i].size(); j++)
^
user.cpp:55:17: warning: unused variable ‘neighb’ [-Wunused-variable]
int neighb = G[i][j].first, c = G[i][j].second;
^
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: In function ‘void Solve()’:
user.cpp:158: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:30: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:34: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:179: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:180: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:182: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 | 2052kb | Ok! | 10 |
2 | 12ms | 2228kb | Ok! | 10 |
3 | 32ms | 2560kb | Raspuns Gresit! | 0 |
4 | 720ms | 13428kb | Raspuns Gresit! | 0 |
5 | 600ms | 10352kb | Raspuns Gresit! | 0 |
6 | 620ms | 9792kb | Raspuns Gresit! | 0 |
7 | 696ms | 11916kb | Raspuns Gresit! | 0 |
8 | 684ms | 11516kb | Raspuns Gresit! | 0 |
9 | 700ms | 11784kb | Ok! | 10 |
10 | 756ms | 13544kb | Ok! | 10 |
Punctaj total | 40 |