Pagini recente » Borderou de evaluare (job #594736) | Borderou de evaluare (job #829994) | Borderou de evaluare (job #3263014) | Borderou de evaluare (job #205887) | Borderou de evaluare (job #1945342)
Borderou de evaluare (job #1945342)
Raport evaluator
Compilare:
user.cpp: In function ‘void BuildTree(int)’:
user.cpp:18:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘void Compute(int)’:
user.cpp:75:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp:77:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nodes[node].caterpillar==true)
^
user.cpp: In function ‘int main()’:
user.cpp:84:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("omizi.in","r",stdin);
^
user.cpp:85:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("omizi.out","w",stdout);
^
user.cpp:88: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:90:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:94:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:100:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c",&x,&ch);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 528kb | OK | 10 |
| 2 | 0ms | 592kb | OK | 10 |
| 3 | 4ms | 652kb | OK | 10 |
| 4 | 8ms | 1076kb | OK | 10 |
| 5 | 8ms | 1212kb | OK | 10 |
| 6 | 20ms | 1708kb | OK | 10 |
| 7 | 20ms | 1712kb | OK | 10 |
| 8 | 8ms | 1124kb | OK | 10 |
| 9 | 12ms | 1008kb | OK | 10 |
| 10 | 12ms | 1040kb | OK | 10 |
| Punctaj total | 100 |