Pagini recente » Cod sursa (job #3142964) | Cod sursa (job #349779) | Cod sursa (job #1820992) | Cod sursa (job #844030) | Borderou de evaluare (job #1288530)
Borderou de evaluare (job #1288530)
Raport evaluator
Compilare:
user.cpp: In function ‘void solveTest()’:
user.cpp:27: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:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &xx, &yy);
^
user.cpp: In function ‘int main()’:
user.cpp:92:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbciclu.in", "r", stdin);
^
user.cpp:93:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbciclu.out", "w", stdout);
^
user.cpp:96:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp: In function ‘void solveTest()’:
user.cpp:69:21: warning: ‘nod2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (deg[nod2] == 2 && !inQ[nod2]) {
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 892ms | 13144kb | Incorect | 0 |
| 2 | 652ms | 11580kb | Incorect | 0 |
| 3 | 504ms | 13152kb | Incorect | 0 |
| 4 | 672ms | 11584kb | OK | 10 |
| 5 | 712ms | 13152kb | OK | 10 |
| 6 | 2552ms | 13148kb | Incorect | 0 |
| 7 | 2168ms | 13152kb | Incorect | 0 |
| 8 | 2376ms | 13152kb | Incorect | 0 |
| 9 | 2744ms | 13148kb | OK | 10 |
| 10 | 2500ms | 13152kb | OK | 10 |
| Punctaj total | 40 |