Pagini recente » Borderou de evaluare (job #1951288) | Borderou de evaluare (job #1856556)
Borderou de evaluare (job #1856556)
Raport evaluator
Compilare:
user.cpp: In function ‘void buildPairs()’:
user.cpp:60:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
int a;
^
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:65:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < G[i].size(); j++)
^
user.cpp:67:17: warning: unused variable ‘neighb’ [-Wunused-variable]
int neighb = G[i][j].first, c = G[i][j].second;
^
user.cpp:70: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:119:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
int a;
^
user.cpp: In function ‘void Solve()’:
user.cpp:177: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:206: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:207: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:209: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 | 2424kb | Ok! | 10 |
2 | 12ms | 2592kb | Raspuns Gresit! | 0 |
3 | 36ms | 2924kb | Raspuns Gresit! | 0 |
4 | 756ms | 13788kb | Raspuns Gresit! | 0 |
5 | 624ms | 10736kb | Raspuns Gresit! | 0 |
6 | 656ms | 10148kb | Raspuns Gresit! | 0 |
7 | 732ms | 12280kb | Raspuns Gresit! | 0 |
8 | 716ms | 11780kb | Raspuns Gresit! | 0 |
9 | 752ms | 12152kb | Ok! | 10 |
10 | 800ms | 13908kb | Ok! | 10 |
Punctaj total | 30 |