Pagini recente » Cod sursa (job #970897) | Cod sursa (job #2012114) | Borderou de evaluare (job #1710354) | parcare2 | Borderou de evaluare (job #1392512)
Borderou de evaluare (job #1392512)
Raport evaluator
Compilare:
user.cpp: In function ‘int reunire(int, int)’:
user.cpp:13:33: warning: no return statement in function returning non-void [-Wreturn-type]
if(rang[x]==rang[y])rang[x]++;}
^
user.cpp: In function ‘int parfum(int)’:
user.cpp:7:28: warning: control reaches end of non-void function [-Wreturn-type]
else t[x]=parfum(t[x]);}
^
user.cpp: In function ‘int main()’:
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.in","r",stdin);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:22:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&ce,&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 412kb | OK | 10 | 10 |
| 2 | 0ms | 408kb | Incorect | 0 | 0 |
| 3 | 0ms | 420kb | Incorect | 0 | 0 |
| 4 | 0ms | 424kb | Incorect | 0 | 0 |
| 5 | 4ms | 432kb | Incorect | 0 | 0 |
| 6 | 72ms | 2128kb | Incorect | 0 |
| 7 | 72ms | 2300kb | Incorect | 0 |
| 8 | 60ms | 9144kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 9 | 24ms | 8908kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 10 | 20ms | 9372kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| Punctaj total | 10 |