Pagini recente » Cod sursa (job #793067) | Borderou de evaluare (job #1539756) | Cod sursa (job #3264671) | Cod sursa (job #2108951) | Borderou de evaluare (job #1592146)
Borderou de evaluare (job #1592146)
Raport evaluator
Compilare:
user.cpp:20:36: warning: overflow in implicit constant conversion [-Woverflow]
int n, m, i, j, p ,q, x, y, minu = 9999999999999, nr, sol[NMAX];
^
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:61:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < M[x].size(); ++i)
^
user.cpp: In function ‘void DFS2(int, int)’:
user.cpp:87:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < M[x].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:26:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d", &n, &m, &p, &q);//fin >> n >> m >> p >> q;
^
user.cpp:29:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &x, &y);//fin >> x >> y;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | OK | 10 |
| 2 | Depăşit | 424kb | Time limit exceeded. | 0 |
| 3 | 0ms | 464kb | OK | 10 |
| 4 | Depăşit | 432kb | Time limit exceeded. | 0 |
| 5 | 0ms | 464kb | OK | 10 |
| 6 | Depăşit | 1048kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 676kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 864kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 980kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1032kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |